Skip to content
Snippets Groups Projects
Commit 964c3752 authored by Liorithiel's avatar Liorithiel
Browse files

Dataforms: DataRecord(extend=None) != DataRecord()

parent ae9d0825
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class WrongFieldValue(Error): pass # when we get xmpp.Node which contains bad fi
class ExtendedNode(xmpp.Node, object):
@classmethod
def __new__(cls, *a, **b):
if 'extend' not in b.keys():
if 'extend' not in b.keys() or not b[keys]:
return object.__new__(cls)
extend = b['extend']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment