From 40ebca1c7415a83a6a3f0fb7e8d35c08a2281d2f Mon Sep 17 00:00:00 2001 From: Morgan Collett Date: Mon, 18 Jun 2007 14:10:09 +0000 Subject: presenceservice: fix GetPreferredConnection which was failing silently --- diff --git a/src/presenceservice.py b/src/presenceservice.py index e6fb895..30b9079 100644 --- a/src/presenceservice.py +++ b/src/presenceservice.py @@ -703,7 +703,7 @@ class PresenceService(ExportedGObject): @dbus.service.method(_PRESENCE_INTERFACE, in_signature='', out_signature="so") def GetPreferredConnection(self): - tp = self._get_preferred_plugin + tp = self._get_preferred_plugin() if tp is None: raise NotFoundError('No connection is available') conn = tp.get_connection() -- cgit v0.9.1