Fix parseDict()
authorAndy Bavier <acb@cs.princeton.edu>
Wed, 19 Aug 2009 19:35:01 +0000 (19:35 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Wed, 19 Aug 2009 19:35:01 +0000 (19:35 +0000)
sfa/util/rspec.py

index 1b05803..903365c 100644 (file)
@@ -274,7 +274,7 @@ class Rspec:
         """
         Convert a dictionary into a dom object and store it.
         """
-        self.rootNode = self.dict2dom(rdict, include_doc)
+        self.rootNode = self.dict2dom(rdict, include_doc).childNodes[0]
  
  
     def getDictsByTagName(self, tagname, dom = None):