no longer remove newlines from xml strin in parseString()
authorTony Mack <tmack@cs.princeton.edu>
Tue, 16 Jun 2009 19:49:48 +0000 (19:49 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Tue, 16 Jun 2009 19:49:48 +0000 (19:49 +0000)
geni/util/rspec.py

index b4c339b..cad6a4e 100644 (file)
@@ -129,7 +129,7 @@ class Rspec():
         """
         read an xml string and store it as a dom object.
         """
-        xml = xml.replace('\n', '').replace('\t', '').strip()
+        #xml = xml.replace('\n', '').replace('\t', '').strip()
         dom = minidom.parseString(xml)
         self.rootNode = dom.childNodes[0]