Merge branch 'master' of git+ssh://dcbw@crank.laptop.org/git/sugar
This commit is contained in:
commit
072fea84a0
@ -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.")
|
||||||
|
Loading…
Reference in New Issue
Block a user