[Commits] sugar-toolkit branch master updated.

Tomeu Vizoso tomeu at tomeuvizoso.net
Tue Dec 9 07:07:35 EST 2008


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "/home/olpc-code/git/sugar-toolkit".

The branch, master has been updated
       via  43d923b4d58adb95af50bf1e64f791abf0ea59bd (commit)
      from  054aaf8590661cd80ffd8f257989f1988648f391 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

 src/sugar/presence/presenceservice.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 43d923b4d58adb95af50bf1e64f791abf0ea59bd
Author: Tomeu Vizoso <tomeu at tomeuvizoso.net>
Date:   Tue Dec 9 13:07:25 2008 +0100

    Log an error message when GetPreferredConnection fails

diff --git a/src/sugar/presence/presenceservice.py b/src/sugar/presence/presenceservice.py
index e2398a8..a7fd1a4 100644
--- a/src/sugar/presence/presenceservice.py
+++ b/src/sugar/presence/presenceservice.py
@@ -21,6 +21,7 @@ STABLE.
 """
 
 import logging
+import traceback
 
 import dbus
 import dbus.exceptions
@@ -520,6 +521,7 @@ class PresenceService(gobject.GObject):
         try:
             bus_name, object_path = self._ps.GetPreferredConnection()
         except dbus.exceptions.DBusException:
+            logging.error(traceback.format_exc())
             return None
 
         return bus_name, object_path
-----------------------------------------------------------------------


--
/home/olpc-code/git/sugar-toolkit


More information about the Commits mailing list