Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
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 /shell
parentef71679ed6a59626bde91d2be7c7f064a6aa6d73 (diff)
Do not use dbus_bindings for exceptions. Use dbus.exceptions. Thanks J5 to point it out.
Diffstat (limited to 'shell')
-rw-r--r--shell/PresenceService/PresenceService.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/PresenceService/PresenceService.py b/shell/PresenceService/PresenceService.py
index 423997e..a3af824 100644
--- a/shell/PresenceService/PresenceService.py
+++ b/shell/PresenceService/PresenceService.py
@@ -1,4 +1,4 @@
-import avahi, dbus, dbus.glib, dbus.dbus_bindings, gobject
+import avahi, dbus, dbus.glib, gobject
import Buddy
import Service
import random
@@ -603,7 +603,7 @@ class PresenceService(object):
domain, "", # let Avahi figure the 'host' out
dbus.UInt16(port), info,)
group.Commit()
- except dbus.dbus_bindings.DBusException, exc:
+ except dbus.exceptions.DBusException, exc:
# FIXME: ignore local name collisions, since that means
# the zeroconf service is already registered. Ideally we
# should un-register it an re-register with the correct info