Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/presence/Activity.py
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-07-25 20:52:45 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-07-25 20:52:45 (GMT)
commit1ef5c576c2d66ee7674ceccc6efea5c52777b443 (patch)
treeb166328f487d47fb309db27c9e9ede39c0e669b0 /sugar/presence/Activity.py
parentef71679ed6a59626bde91d2be7c7f064a6aa6d73 (diff)
Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out.
Diffstat (limited to 'sugar/presence/Activity.py')
-rw-r--r--sugar/presence/Activity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sugar/presence/Activity.py b/sugar/presence/Activity.py
index a7c2f7a..43e6755 100644
--- a/sugar/presence/Activity.py
+++ b/sugar/presence/Activity.py
@@ -1,5 +1,5 @@
import gobject
-import dbus, dbus_bindings
+import dbus
class Activity(gobject.GObject):
@@ -69,7 +69,7 @@ class Activity(gobject.GObject):
def get_service_of_type(self, stype):
try:
object_path = self._buddy.getServiceOfType(stype)
- except dbus_bindings.DBusException:
+ except dbus.exceptions.DBusException:
return None
return self._ps_new_object(object_path)