ServiceDiscoveryWindow must be a sub-class of object, so that property() works fine
This commit is contained in:
parent
d552425379
commit
84a026aa17
|
@ -398,8 +398,8 @@ class ServicesCache:
|
||||||
if self._cbs.has_key(cbkey):
|
if self._cbs.has_key(cbkey):
|
||||||
del self._cbs[cbkey]
|
del self._cbs[cbkey]
|
||||||
|
|
||||||
|
# object is needed so that property() works
|
||||||
class ServiceDiscoveryWindow:
|
class ServiceDiscoveryWindow(object):
|
||||||
'''Class that represents the Services Discovery window.'''
|
'''Class that represents the Services Discovery window.'''
|
||||||
def __init__(self, account, jid = '', node = '',
|
def __init__(self, account, jid = '', node = '',
|
||||||
address_entry = False, parent = None):
|
address_entry = False, parent = None):
|
||||||
|
|
Loading…
Reference in New Issue