summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarel Klic <kklic@redhat.com>2010-07-12 17:26:27 +0200
committerKarel Klic <kklic@redhat.com>2010-07-12 17:26:27 +0200
commitcac2de6a577d29eb5e6be18868a72b4e5557bd7d (patch)
tree665f848dd6a9d77a1440d8e0aa8e7a0fbbe482d2
parent6a2057822f6ab3b727dfc2ba0f202020e1723399 (diff)
downloadabrt-cac2de6a577d29eb5e6be18868a72b4e5557bd7d.tar.gz
abrt-cac2de6a577d29eb5e6be18868a72b4e5557bd7d.tar.xz
abrt-cac2de6a577d29eb5e6be18868a72b4e5557bd7d.zip
GUI: fixed package name in warning message when the packge is kernel rhbz#612191
Author: Jiri Moskovcak <jmoskovc@redhat.com>
-rw-r--r--src/Gui/CReporterAssistant.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Gui/CReporterAssistant.py b/src/Gui/CReporterAssistant.py
index 5c4cc98e..cbac04ac 100644
--- a/src/Gui/CReporterAssistant.py
+++ b/src/Gui/CReporterAssistant.py
@@ -302,7 +302,7 @@ class ReporterAssistant():
# not usable report
if rating < 3:
if package:
- error_msgs.append(_("Reporting disabled because the backtrace is unusable.\nPlease try to install debuginfo manually using the command: <b>debuginfo-install %s</b> \nthen use the Refresh button to regenerate the backtrace." % package[0:package.rfind('-',0,package.rfind('-'))]))
+ error_msgs.append(_("Reporting disabled because the backtrace is unusable.\nPlease try to install debuginfo manually using the command: <b>debuginfo-install %s</b> \nthen use the Refresh button to regenerate the backtrace." % self.report.getPackageName()))
else:
error_msgs.append(_("The backtrace is unusable, you cannot report this!"))
send = False