summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-03 14:03:00 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-03 14:03:00 +0100
commitcbec527eea140de7c2001c08c321f6afeff2a5e1 (patch)
treef4d58798fc27c2fc65649358c2d2824eb14d67f2
parent9d109b568bbbdee069bb5dfcbca3c259a74e98a8 (diff)
downloadabrt-cbec527eea140de7c2001c08c321f6afeff2a5e1.tar.gz
abrt-cbec527eea140de7c2001c08c321f6afeff2a5e1.tar.xz
abrt-cbec527eea140de7c2001c08c321f6afeff2a5e1.zip
fix bz#570081 (self.is_oops is not defined)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--src/Gui/CCReporterDialog.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Gui/CCReporterDialog.py b/src/Gui/CCReporterDialog.py
index bc4a1e0..989f7cb 100644
--- a/src/Gui/CCReporterDialog.py
+++ b/src/Gui/CCReporterDialog.py
@@ -214,6 +214,7 @@ class ReporterDialog():
self.editable = []
self.old_comment = COMMENT_HINT_TEXT
self.old_how_to_reproduce = HOW_TO_HINT_TEXT
+ self.is_oops = False
for item in self.report:
try:
log2("report[%s]:%s/%s/%s", item, self.report[item][0], self.report[item][1], self.report[item][2][0:20])
@@ -306,7 +307,7 @@ class ReporterDialog():
text = buff.get_text(buff.get_start_iter(), buff.get_end_iter())
if self.old_how_to_reproduce != text:
self.report[FILENAME_REPRODUCE] = [CD_TXT, 'y', text]
- #handle backtrace
+ # handle backtrace
tev_backtrace = self.builder.get_object("tvBacktrace")
buff = tev_backtrace.get_buffer()
text = buff.get_text(buff.get_start_iter(), buff.get_end_iter())