From cac2de6a577d29eb5e6be18868a72b4e5557bd7d Mon Sep 17 00:00:00 2001 From: Karel Klic Date: Mon, 12 Jul 2010 17:26:27 +0200 Subject: GUI: fixed package name in warning message when the packge is kernel rhbz#612191 Author: Jiri Moskovcak --- src/Gui/CReporterAssistant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: debuginfo-install %s \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: debuginfo-install %s \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 -- cgit