From f7cd0939c4fdf8cb8f44185fb2796f9adaed12df Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 07 Jun 2006 16:22:28 +0000 Subject: Fix traceback on focus changes --- (limited to 'sugar/p2p') diff --git a/sugar/p2p/presence.py b/sugar/p2p/presence.py index 9cb297e..9d11d7e 100644 --- a/sugar/p2p/presence.py +++ b/sugar/p2p/presence.py @@ -1,6 +1,6 @@ # -*- tab-width: 4; indent-tabs-mode: t -*- -import avahi, dbus, dbus.glib, dbus.dbus_bindings +import avahi, dbus, dbus.glib, dbus_bindings ACTION_SERVICE_NEW = 'new' ACTION_SERVICE_REMOVED = 'removed' @@ -97,7 +97,7 @@ class PresenceAnnounce(object): "", "", # domain, host (let the system figure it out) dbus.UInt16(rs_port), info,) g.Commit() - except dbus.dbus_bindings.DBusException, exc: + except dbus_bindings.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 -- cgit v0.9.1