Fixes for pep8 1.5

This commit is contained in:
Daniel Narvaez
2014-03-29 19:25:34 +00:00
parent cbf325d994
commit 01ed63ee4b
9 changed files with 24 additions and 24 deletions
+2 -2
View File
@@ -114,7 +114,7 @@ class Activity(GObject.GObject):
self._joined_buddies = {}
self._get_properties_call = None
if not self.room_handle is None:
if self.room_handle is not None:
self._start_tracking_properties()
def _start_tracking_properties(self):
@@ -390,7 +390,7 @@ class Activity(GObject.GObject):
self._join_command.run()
def share(self, share_activity_cb, share_activity_error_cb):
if not self.room_handle is None:
if self.room_handle is not None:
raise ValueError('Already have a room handle')
self._share_command = _ShareCommand(self.telepathy_conn, self._id)