From 80190bf944977de1315df5f0d35438de29bac010 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sun, 10 Aug 2008 22:50:29 +0000 Subject: Several pylint fixes. --- (limited to 'src/sugar/presence/activity.py') diff --git a/src/sugar/presence/activity.py b/src/sugar/presence/activity.py index ab3cfff..bd41cec 100644 --- a/src/sugar/presence/activity.py +++ b/src/sugar/presence/activity.py @@ -281,8 +281,8 @@ class Activity(gobject.GObject): def tubes_ready(): if self.telepathy_text_chan is None or \ - self.telepathy_tubes_chan is None: - return + self.telepathy_tubes_chan is None: + return _logger.debug('%r: finished setting up tubes', self) reply_handler() @@ -303,7 +303,7 @@ class Activity(gobject.GObject): found_text_channel = False found_tubes_channel = False - for chan_path, chan_iface, handle_type, handle in chans: + for chan_path, chan_iface, handle_type, handle_ in chans: if handle_type != telepathy.HANDLE_TYPE_ROOM: return -- cgit v0.9.1