Dataforms: fix a fix

This commit is contained in:
Tomasz Melcer 2007-06-09 13:52:06 +00:00
parent 7ef57b505d
commit 93f963a1f0
1 changed files with 1 additions and 1 deletions

View File

@ -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']