Disable the few remaining pylint messages

This commit is contained in:
Marco Pesenti Gritti
2008-09-07 23:57:27 +02:00
parent b307237dbf
commit 3d9f3eca67
3 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -457,7 +457,8 @@ class PresenceService(gobject.GObject):
def _share_activity_cb(self, activity, op):
"""Finish sharing the activity
"""
psact = self._new_object(op)
# FIXME find a better way to shutup pylint
psact = (Activity)(self._new_object(op))
psact._joined = True
_logger.debug('%r: Just shared, setting up tubes', activity)
psact.set_up_tubes(reply_handler=lambda:
+4
View File
@@ -31,6 +31,8 @@ logger = logging.getLogger('telepathy.tubeconn')
class TubeConnection(Connection):
# pylint: disable-msg=W0212
# Confused by __new__
def __new__(cls, conn, tubes_iface, tube_id, address=None,
group_iface=None, mainloop=None):
if address is None:
@@ -53,6 +55,8 @@ class TubeConnection(Connection):
return self
# pylint: disable-msg=W0201
# Confused by __new__
def _on_get_self_handle_reply(self, handle):
self.self_handle = handle
match = self._tubes_iface.connect_to_signal('DBusNamesChanged',