[GNOME-ABRT PATCH v2 2/2] Fix a condition in the source changed notification handler
Jakub Filak
jfilak at redhat.com
Tue Jul 9 11:18:43 UTC 2013
Closes #24
Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
src/gnome_abrt/views.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
index 2fc478c..0e8942e 100644
--- a/src/gnome_abrt/views.py
+++ b/src/gnome_abrt/views.py
@@ -198,7 +198,7 @@ class OopsWindow(Gtk.ApplicationWindow):
try:
if source == self.wnd._source:
- if not change_type:
+ if change_type is None:
self.wnd._reload_problems(source)
elif change_type == problems.ProblemSource.NEW_PROBLEM:
self.wnd._add_problem_to_storage(problem)
--
1.8.2.1
More information about the Crash-catcher
mailing list