From 84a026aa1748f693deaee2ac4b1a345501a4583a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 25 Apr 2006 19:38:08 +0000 Subject: [PATCH] ServiceDiscoveryWindow must be a sub-class of object, so that property() works fine --- src/disco.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/disco.py b/src/disco.py index ce6b20f17..658ad7580 100644 --- a/src/disco.py +++ b/src/disco.py @@ -398,8 +398,8 @@ class ServicesCache: if self._cbs.has_key(cbkey): del self._cbs[cbkey] - -class ServiceDiscoveryWindow: +# object is needed so that property() works +class ServiceDiscoveryWindow(object): '''Class that represents the Services Discovery window.''' def __init__(self, account, jid = '', node = '', address_entry = False, parent = None):