diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-10-19 15:53:00 +0200 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2010-10-19 15:53:00 +0200 |
commit | fefd0611427a2b4aa5c3337399c6120d0bca11d5 (patch) | |
tree | b2814814ceae3e52e361e80eeb80c08c3fdc5ee3 /src/gui | |
parent | 65446ccfa3bfc4f4c6f4b8e09dda3ec851a3502f (diff) | |
download | abrt-fefd0611427a2b4aa5c3337399c6120d0bca11d5.tar.gz abrt-fefd0611427a2b4aa5c3337399c6120d0bca11d5.tar.xz abrt-fefd0611427a2b4aa5c3337399c6120d0bca11d5.zip |
GUI: minor fix to dbus backend to prevent exceptions when kerneloops happen while gui is open
- if oops happen abrtd sends a crash signal without uid_str parameter,
but the old code expects 3 paramaters and throws an exception
this patch fixes this problem by making the uid parameter optional
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/CCDBusBackend.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/CCDBusBackend.py b/src/gui/CCDBusBackend.py index 10644b2a..cbc02e34 100644 --- a/src/gui/CCDBusBackend.py +++ b/src/gui/CCDBusBackend.py @@ -141,8 +141,7 @@ class DBusManager(gobject.GObject): # dummy function for async method call to workaround the timeout pass - def crash_cb(self, package, uuid, uid): - #print package, uuid, uid + def crash_cb(self, package, uuid, uid=""): self.emit("crash", package, uuid, uid) def update_cb(self, message): |