From: Reed Moran Date: Wed, 21 Jan 2009 17:03:39 +0000 (+0000) Subject: cleaner xml file handling X-Git-Tag: sfa-0.9-0@14641~734 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f2b9f9e719b39929d1f8d4557df00ce9c8764d45;p=sfa.git cleaner xml file handling --- diff --git a/rspec/parse2.py b/rspec/parse2.py index cff1db1d..096e802f 100644 --- a/rspec/parse2.py +++ b/rspec/parse2.py @@ -34,7 +34,7 @@ def handleIfs(interf): # loop through attribs and put key value pair into array for i in interf.attributes: a = node.attributes[i] - ifdict.append({a.name:a.value}) + ifdict[a.name] = a.value return ifdict