Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/sugar/presence/presenceservice.py
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-10-15 19:14:59 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-11-23 16:14:34 (GMT)
commit7acfbd070fa207dff309383da6e743ad2b9843c3 (patch)
tree662b4cb7ff5494f162365d85098e7fce7179d35e /src/sugar/presence/presenceservice.py
parent5f13fcfc847ecff18b9558de8ce29da884a06d7a (diff)
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 <quozl@laptop.org> Acked-by: Simon Schampijer <simon@laptop.org> CC: Aleksey Lim <alsroot@member.fsf.org>
Diffstat (limited to 'src/sugar/presence/presenceservice.py')
-rw-r--r--src/sugar/presence/presenceservice.py6
1 files changed, 3 insertions, 3 deletions
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: