add a new child for each option instead of always rewrite over the same
This commit is contained in:
parent
9fd9b98a79
commit
cd771c22ef
|
@ -721,7 +721,6 @@ class Connection:
|
||||||
instructions = data.getInstructions()
|
instructions = data.getInstructions()
|
||||||
if instructions:
|
if instructions:
|
||||||
info['instructions'] = instructions
|
info['instructions'] = instructions
|
||||||
print info
|
|
||||||
return info
|
return info
|
||||||
|
|
||||||
def register_agent(self, agent, info):
|
def register_agent(self, agent, info):
|
||||||
|
@ -874,7 +873,7 @@ class Connection:
|
||||||
if config[i]['type'] == 'fixed':
|
if config[i]['type'] == 'fixed':
|
||||||
i += 1
|
i += 1
|
||||||
continue
|
continue
|
||||||
tag = x.setTag('field')
|
tag = x.addChild('field')
|
||||||
if config[i].has_key('var'):
|
if config[i].has_key('var'):
|
||||||
tag.setAttr('var', config[i]['var'])
|
tag.setAttr('var', config[i]['var'])
|
||||||
if config[i].has_key('values'):
|
if config[i].has_key('values'):
|
||||||
|
|
Loading…
Reference in New Issue