Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/presence
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2007-05-18 14:31:32 (GMT)
committer Simon McVittie <simon.mcvittie@collabora.co.uk>2007-05-18 14:31:32 (GMT)
commit29cc39968d491288ee460c8daa066479592d7e2b (patch)
treef29f474e2dc16f576c20313980548d07a285f296 /sugar/presence
parentc6ac2873c881455bc0ba1aa6befae9bd44a1d1e4 (diff)
Don't rely on dbus importing the exceptions module - import it explicitly.
Also divide up imports in a PEP8-compliant way.
Diffstat (limited to 'sugar/presence')
-rw-r--r--sugar/presence/presenceservice.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sugar/presence/presenceservice.py b/sugar/presence/presenceservice.py
index fc9d13e..9d435e7 100644
--- a/sugar/presence/presenceservice.py
+++ b/sugar/presence/presenceservice.py
@@ -16,9 +16,13 @@
# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
-import dbus, dbus.glib, gobject
import logging
+import dbus
+import dbus.exceptions
+import dbus.glib
+import gobject
+
# XXX use absolute imports
# from sugar.presence import buddy, activity
# this *kind* of relative import is deprecated