fix untested code

This commit is contained in:
Nikos Kouremenos 2005-11-03 20:50:52 +00:00
parent 819bf2e7e3
commit 8b90191f60

View file

@ -1144,7 +1144,7 @@ class Connection:
identities.append(attr)
elif i.getName() == 'feature':
features.append(i.getAttr('var'))
elif i.getName() == 'x' and i.getAttr('xmlns') == NS_DATA:
elif i.getName() == 'x' and i.getAttr('xmlns') == common.xmpp.NS_DATA:
data.append(common.xmpp.DataForm(node=i))
jid = self.get_full_jid(iq_obj)
if identities: #if not: an error occured