From 7acfbd070fa207dff309383da6e743ad2b9843c3 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 19:14:59 +0000 Subject: style cleanup: prefer ' for strings Tomeu prefers ' for strings, so let's use it wherever we don't have a good reason to use ". Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'src/sugar/presence/presenceservice.py') diff --git a/src/sugar/presence/presenceservice.py b/src/sugar/presence/presenceservice.py index e183446..b6c581e 100644 --- a/src/sugar/presence/presenceservice.py +++ b/src/sugar/presence/presenceservice.py @@ -82,7 +82,7 @@ class PresenceService(gobject.GObject): for account_path, connection in connections_per_account.items(): if not connection.connected: continue - logging.debug("Calling GetActivity on %s", account_path) + logging.debug('Calling GetActivity on %s', account_path) try: room_handle = connection.connection.GetActivity( activity_id, @@ -172,12 +172,12 @@ class PresenceService(gobject.GObject): def __share_activity_cb(self, activity): """Finish sharing the activity """ - self.emit("activity-shared", True, activity, None) + self.emit('activity-shared', True, activity, None) def __share_activity_error_cb(self, activity, error): """Notify with GObject event of unsuccessful sharing of activity """ - self.emit("activity-shared", False, activity, error) + self.emit('activity-shared', False, activity, error) def share_activity(self, activity, properties=None, private=True): if properties is None: -- cgit v0.9.1