From f2b9f9e719b39929d1f8d4557df00ce9c8764d45 Mon Sep 17 00:00:00 2001 From: Reed Moran Date: Wed, 21 Jan 2009 17:03:39 +0000 Subject: [PATCH] cleaner xml file handling --- rspec/parse2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0