summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsrc/plugins/abrt-action-install-debuginfo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/abrt-action-install-debuginfo.py b/src/plugins/abrt-action-install-debuginfo.py
index b16cc3e9..d59d0e5f 100755
--- a/src/plugins/abrt-action-install-debuginfo.py
+++ b/src/plugins/abrt-action-install-debuginfo.py
@@ -210,7 +210,7 @@ class DebugInfoDownload(YumBase):
installed_size += float(pkg[0].installedsize)
total_pkgs += 1
- log2("found pkg for %s" % debuginfo_path)
+ log2("found pkg for %s : %s" % (debuginfo_path, pkg[0]))
else:
log2("not found pkg for %s" % debuginfo_path)
not_found.append(debuginfo_path)
@@ -271,13 +271,13 @@ class DebugInfoDownload(YumBase):
downloaded_pkgs += 1
- if not self.keeprpms:
+ if not self.keeprpms and os.path.exists(self.tmpdir):
print (_("All downloaded packages have been extracted, removing %s")
% self.tmpdir)
try:
os.rmdir(self.tmpdir)
except OSError:
- print _("Can't remove %s, probably contains an error log")
+ print _("Can't remove %s, probably contains an error log" % self.tmpdir)
verbose = 0
def log1(message):