diff options
author | Walter Bender <walter@sugarlabs.org> | 2013-05-22 18:52:20 (GMT) |
---|---|---|
committer | Walter Bender <walter@sugarlabs.org> | 2013-05-22 18:52:20 (GMT) |
commit | 6b3d47503f294128cb3289f4472669110afd4293 (patch) | |
tree | b1aac937ef6ea448201ebd39179837c65611bc63 /collaboration/telepathyclient.py | |
parent | 237eae4e5ff586b9d3b87899520e2ba6bb71fb66 (diff) |
pep8 and pyflakes cleanup
Diffstat (limited to 'collaboration/telepathyclient.py')
-rw-r--r-- | collaboration/telepathyclient.py | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/collaboration/telepathyclient.py b/collaboration/telepathyclient.py index e00f053..366c398 100644 --- a/collaboration/telepathyclient.py +++ b/collaboration/telepathyclient.py @@ -48,14 +48,11 @@ class TelepathyClient(dbus.service.Object, DBusProperties): DBusProperties.__init__(self) self._implement_property_get(CLIENT, { - 'Interfaces': lambda: list(self._interfaces), - }) + 'Interfaces': lambda: list(self._interfaces), }) self._implement_property_get(CLIENT_HANDLER, { - 'HandlerChannelFilter': self.__get_filters_cb, - }) + 'HandlerChannelFilter': self.__get_filters_cb, }) self._implement_property_get(CLIENT_APPROVER, { - 'ApproverChannelFilter': self.__get_filters_cb, - }) + 'ApproverChannelFilter': self.__get_filters_cb, }) self.got_channel = dispatch.Signal() self.got_dispatch_operation = dispatch.Signal() @@ -68,7 +65,7 @@ class TelepathyClient(dbus.service.Object, DBusProperties): @dbus.service.method(dbus_interface=CLIENT_HANDLER, in_signature='ooa(oa{sv})aota{sv}', out_signature='') def HandleChannels(self, account, connection, channels, requests_satisfied, - user_action_time, handler_info): + user_action_time, handler_info): logging.debug('HandleChannels\n%r\n%r\n%r\n%r\n%r\n%r\n', account, connection, channels, requests_satisfied, user_action_time, handler_info) @@ -91,9 +88,11 @@ class TelepathyClient(dbus.service.Object, DBusProperties): logging.debug('AddDispatchOperation\n%r\n%r\n%r', channels, dispatch_operation_path, properties) - self.got_dispatch_operation.send(self, channels=channels, - dispatch_operation_path=dispatch_operation_path, - properties=properties) + self.got_dispatch_operation.send( + self, + channels=channels, + dispatch_operation_path=dispatch_operation_path, + properties=properties) except Exception, e: logging.exception(e) |