Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar/presence
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2006-06-19 16:38:25 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2006-06-19 16:38:25 (GMT)
commit918c695b072594669dba0cfebff1bc5f74b824a5 (patch)
tree9837eba8afeb45c84fa22f37697a79e5a6df9d75 /sugar/presence
parent73c94c7bfbc427ad9880c6a6910259c55e485dac (diff)
Do not assign {} to properties, if you do apparently
the table is not recreated on subsequent calls and that obviously cause funny issues.
Diffstat (limited to 'sugar/presence')
-rw-r--r--sugar/presence/PresenceService.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sugar/presence/PresenceService.py b/sugar/presence/PresenceService.py
index 64b15ed..005a5d8 100644
--- a/sugar/presence/PresenceService.py
+++ b/sugar/presence/PresenceService.py
@@ -482,7 +482,7 @@ class PresenceService(gobject.GObject):
raise ValueError("service was not a valid service object.")
self.register_service(service)
- def share_activity(self, activity, stype, properties={}, address=None, port=None):
+ def share_activity(self, activity, stype, properties=None, address=None, port=None):
"""Convenience function to share an activity with other buddies."""
if not self._started:
raise RuntimeError("presence service must be started first.")