From 918c695b072594669dba0cfebff1bc5f74b824a5 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 19 Jun 2006 12:38:25 -0400 Subject: [PATCH] Do not assign {} to properties, if you do apparently the table is not recreated on subsequent calls and that obviously cause funny issues. --- sugar/presence/PresenceService.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sugar/presence/PresenceService.py b/sugar/presence/PresenceService.py index 64b15ed8..005a5d83 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.")