- the patch fixes the problem, but we also use the verbose variable in
plugins/abrt-action-analyze-vmcore.in and it would be better if we treat
it the same way everywhere
--Jirka
On 04/04/2012 04:30 PM, Jakub Filak wrote:
---
src/plugins/abrt-action-install-debuginfo.in | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/plugins/abrt-action-install-debuginfo.in
b/src/plugins/abrt-action-install-debuginfo.in
index 280d815..1304260 100644
--- a/src/plugins/abrt-action-install-debuginfo.in
+++ b/src/plugins/abrt-action-install-debuginfo.in
@@ -11,7 +11,7 @@ import errno
import getopt
import reportclient
from subprocess import Popen, PIPE
-from reportclient import _, verbose, log, log1, log2, set_verbosity, error_msg_and_die,
error_msg
+from reportclient import _, log, log1, log2, set_verbosity, error_msg_and_die,
error_msg
import time
from reportclient.debuginfo import DebugInfoDownload, filter_installed_debuginfos,
build_ids_to_path
@@ -75,7 +75,7 @@ if __name__ == "__main__":
ABRT_VERBOSE = os.getenv("ABRT_VERBOSE")
if (ABRT_VERBOSE):
try:
- verbose = int(ABRT_VERBOSE)
+ reportclient.verbose = int(ABRT_VERBOSE)
except:
pass
@@ -113,7 +113,7 @@ if __name__ == "__main__":
print help_text
exit(0)
elif opt == "-v":
- verbose += 1
+ reportclient.verbose += 1
elif opt == "-y":
noninteractive = True
elif opt == "--ids":