diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-25 10:30:36 (GMT) |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2007-05-25 10:30:36 (GMT) |
commit | a868f6eb9c8de4855b8462be71be4e305af4e510 (patch) | |
tree | 0eb478f546c535296ad5b6c2ae1d8c276cc1a7df /services | |
parent | 5bf10edaee85bbe352f2f118daa822cbe1110bc6 (diff) |
services/presence/psutils: Re-order imports conventionally, without dbus.glib.
Importing dbus.glib has a side-effect (it sets up the default main loop
integration) so it's not something a module should do.
Diffstat (limited to 'services')
-rw-r--r-- | services/presence/psutils.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/presence/psutils.py b/services/presence/psutils.py index c2c1b03..97b1a5f 100644 --- a/services/presence/psutils.py +++ b/services/presence/psutils.py @@ -14,9 +14,11 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -import dbus, dbus.glib, gobject import logging +import dbus +import gobject + _logger = logging.getLogger('s-p-s.psutils') |