diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-10 22:50:29 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-08-10 22:50:29 (GMT) |
commit | 80190bf944977de1315df5f0d35438de29bac010 (patch) | |
tree | b3b0a24ac0a3a2a38f657aeff3129efa0c7112a7 /src/sugar/presence/activity.py | |
parent | 4c35d778549477d0865b69761b2d87eef94cad18 (diff) |
Several pylint fixes.
Diffstat (limited to 'src/sugar/presence/activity.py')
-rw-r--r-- | src/sugar/presence/activity.py | 6 |
1 files changed, 3 insertions, 3 deletions
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 |