diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-02-12 17:12:10 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-02-12 17:12:10 +0100 |
commit | 147dc14f0ccfdf8a59d481496d1a0123e9af832b (patch) | |
tree | ee1e0e5328b3cc362bc969f45730c3e3e9c7b6f5 | |
parent | fd889cd72bd75634ed269e561c26732bd9e4a6e1 (diff) | |
download | abrt-147dc14f0ccfdf8a59d481496d1a0123e9af832b.tar.gz abrt-147dc14f0ccfdf8a59d481496d1a0123e9af832b.tar.xz abrt-147dc14f0ccfdf8a59d481496d1a0123e9af832b.zip |
don't require good backtrace in rhel61.0.7-el6
-rw-r--r-- | src/Gui/CCReporterDialog.py | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py index bc4a1e0e..bc701ac6 100644 --- a/src/Gui/CCReporterDialog.py +++ b/src/Gui/CCReporterDialog.py @@ -92,6 +92,13 @@ class ReporterDialog(): rating = int(self.report[FILENAME_RATING][CD_CONTENT]) except: rating = None + + # we don't care about rating in rhel6 + # FIXME: this must be handled better (per plugin) + # otherwise we'll get many useless reports from rhel + # as it doesn't download debuginfos + #rating = None + # active buttons acording to required fields # if an backtrace has rating use it if not SendBacktrace: @@ -107,10 +114,10 @@ class ReporterDialog(): # not usable report if int(self.report[FILENAME_RATING][CD_CONTENT]) < 3: if package: - error_msgs.append(_("Reporting disabled because the backtrace is unusable.\nPlease try to install debuginfo manually using command: <b>debuginfo-install %s</b> \nthen use Refresh button to regenerate the backtrace." % package[0:package.rfind('-',0,package.rfind('-'))])) + error_msgs.append(_("The backtrace is unusable.\nPlease try to install debuginfo manually using command: <b>debuginfo-install %s</b> \nthen use Refresh button to regenerate the backtrace." % package[0:package.rfind('-',0,package.rfind('-'))])) else: - error_msgs.append(_("The backtrace is unusable, you can't report this!")) - send = False + error_msgs.append(_("The backtrace is unusable, you shouldn't report this!")) + #send = False # probably usable 3 elif int(self.report[FILENAME_RATING][CD_CONTENT]) < 4: error_msgs.append(_("The backtrace is incomplete, please make sure you provide good steps to reproduce.")) |