features.py still problematic, just adding the stuff alexey said in case his grab this to continue fixing

This commit is contained in:
Nikos Kouremenos 2005-04-29 14:16:55 +00:00
parent 0b331139ed
commit 3cb963554d
1 changed files with 4 additions and 2 deletions

View File

@ -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):