summaryrefslogtreecommitdiffstats
path: root/src/Gui/CCDBusBackend.py
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-03-09 16:54:57 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-03-09 16:54:57 +0100
commitc792d3f70a27d4513dd557ab396541938b9c2dd2 (patch)
tree4d11be4c36f639f5b5c748241381fe9c7e47620e /src/Gui/CCDBusBackend.py
parent4b7a0764c54a0bce8bb3f59bdd94fe30c591e0c1 (diff)
downloadabrt-c792d3f70a27d4513dd557ab396541938b9c2dd2.tar.gz
abrt-c792d3f70a27d4513dd557ab396541938b9c2dd2.tar.xz
abrt-c792d3f70a27d4513dd557ab396541938b9c2dd2.zip
Increased timeout for async dbus calls to 60sec
Diffstat (limited to 'src/Gui/CCDBusBackend.py')
-rw-r--r--src/Gui/CCDBusBackend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Gui/CCDBusBackend.py b/src/Gui/CCDBusBackend.py
index c5fc498b..e18667c6 100644
--- a/src/Gui/CCDBusBackend.py
+++ b/src/Gui/CCDBusBackend.py
@@ -26,7 +26,7 @@ class DBusManager(gobject.GObject):
# new crash notify
self.proxy.connect_to_signal("Crash",self.crash_cb,dbus_interface=CC_IFACE)
# BT extracting complete
- #self.proxy.connect_to_signal("AnalyzeComplete",self.analyze_complete_cb,dbus_interface=CC_IFACE)
+ #self.acconnection = self.proxy.connect_to_signal("AnalyzeComplete",self.analyze_complete_cb,dbus_interface=CC_IFACE)
else:
raise Exception("Proxy object doesn't exist!")
@@ -63,9 +63,9 @@ class DBusManager(gobject.GObject):
def getReport(self, UUID):
try:
- #return self.cc.CreateReport(UUID)
# let's try it async
- self.cc.CreateReport(UUID, reply_handler=self.analyze_complete_cb, error_handler=self.error_handler)
+ # even if it's async it timeouts, so let's try to set the timeout to 60sec
+ self.cc.CreateReport(UUID, reply_handler=self.analyze_complete_cb, error_handler=self.error_handler, timeout=60)
except dbus.exceptions.DBusException, e:
raise Exception(e.message)