From: Tony Mack Date: Tue, 16 Jun 2009 20:26:32 +0000 (+0000) Subject: no longer explicitly replace newlines from string in parseString() X-Git-Tag: sfa-0.9-0@14641~261 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7946a75cb4368490a1734a5fb7a352d1a962eda6;p=sfa.git no longer explicitly replace newlines from string in parseString() --- diff --git a/geni/util/rspec.py b/geni/util/rspec.py index b4c339b9..cad6a4e0 100644 --- a/geni/util/rspec.py +++ b/geni/util/rspec.py @@ -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]