From 93f963a1f0467afebb3cdf6af137e8c129cf5dfb Mon Sep 17 00:00:00 2001 From: Tomasz Melcer Date: Sat, 9 Jun 2007 13:52:06 +0000 Subject: [PATCH] Dataforms: fix a fix --- src/common/dataforms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dataforms.py b/src/common/dataforms.py index 6e9522e2e..06c8ff2b8 100644 --- a/src/common/dataforms.py +++ b/src/common/dataforms.py @@ -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() or not b[keys]: + if 'extend' not in b.keys() or not b['extend']: return object.__new__(cls) extend = b['extend']