Dataforms: fix a fix
This commit is contained in:
parent
7ef57b505d
commit
93f963a1f0
|
@ -13,7 +13,7 @@ class WrongFieldValue(Error): pass # when we get xmpp.Node which contains bad fi
|
||||||
class ExtendedNode(xmpp.Node, object):
|
class ExtendedNode(xmpp.Node, object):
|
||||||
@classmethod
|
@classmethod
|
||||||
def __new__(cls, *a, **b):
|
def __new__(cls, *a, **b):
|
||||||
if 'extend' not in b.keys() or not b[keys]:
|
if 'extend' not in b.keys() or not b['extend']:
|
||||||
return object.__new__(cls)
|
return object.__new__(cls)
|
||||||
|
|
||||||
extend = b['extend']
|
extend = b['extend']
|
||||||
|
|
Loading…
Reference in New Issue