Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar

This commit is contained in:
Dan Williams 2006-06-19 14:53:36 -04:00
commit 072fea84a0

View File

@ -482,7 +482,7 @@ class PresenceService(gobject.GObject):
raise ValueError("service was not a valid service object.") raise ValueError("service was not a valid service object.")
self.register_service(service) 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.""" """Convenience function to share an activity with other buddies."""
if not self._started: if not self._started:
raise RuntimeError("presence service must be started first.") raise RuntimeError("presence service must be started first.")