From cd771c22ef1aaf76fa6da50821f0d5164f9751f5 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 27 Apr 2005 22:14:28 +0000 Subject: [PATCH] add a new child for each option instead of always rewrite over the same --- src/common/connection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index f0862bcbd..5c2e4083b 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -721,7 +721,6 @@ class Connection: instructions = data.getInstructions() if instructions: info['instructions'] = instructions - print info return info def register_agent(self, agent, info): @@ -874,7 +873,7 @@ class Connection: if config[i]['type'] == 'fixed': i += 1 continue - tag = x.setTag('field') + tag = x.addChild('field') if config[i].has_key('var'): tag.setAttr('var', config[i]['var']) if config[i].has_key('values'):