let the logger do the formatting

This commit is contained in:
Sascha Silbe
2009-08-24 12:54:02 +02:00
parent bdd760d92a
commit 496090fe62
15 changed files with 58 additions and 58 deletions
+2 -2
View File
@@ -473,8 +473,8 @@ class PresenceService(gobject.GObject):
def _share_activity_error_cb(self, activity, err):
"""Notify with GObject event of unsuccessful sharing of activity"""
_logger.debug("Error sharing activity %s: %s" %
(activity.get_id(), err))
_logger.debug('Error sharing activity %s: %s', activity.get_id(),
err)
self.emit("activity-shared", False, None, err)
def share_activity(self, activity, properties=None, private=True):