From 3cb963554d0f13e733014b9bfd8421eae969cd6f Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 29 Apr 2005 14:16:55 +0000 Subject: [PATCH] features.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing --- src/common/xmpp/features.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/xmpp/features.py b/src/common/xmpp/features.py index 5b08cd744..985373340 100644 --- a/src/common/xmpp/features.py +++ b/src/common/xmpp/features.py @@ -88,8 +88,10 @@ def getRegInfo(disp,host,info={}): if df: return DataForm(node=df) df=DataForm(typ='form') for i in resp.getQueryPayload(): - if i.getName()=='instructions': df.addInstructions(i.getData()) - else: df.setField(i.getName()).setValue(i.getData()) + try: #FIXME: temporary patch by Alexey to make it work :| + if i.getName()=='instructions': df.addInstructions(i.getData()) + else: df.setField(i.getName()).setValue(i.getData()) + except: pass return df def register(disp,host,info):