From: Faiyaz Ahmed Date: Mon, 26 Jan 2009 19:42:23 +0000 (+0000) Subject: more formatting. X-Git-Tag: sfa-0.9-0@14641~716 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=f72bb932ec97d6d84d9522e050220c7575f0bdeb;p=sfa.git more formatting. --- diff --git a/util/rspec.py b/util/rspec.py index 0817cdb3..5445aa42 100644 --- a/util/rspec.py +++ b/util/rspec.py @@ -47,8 +47,8 @@ class Rspec(): def toDict(self, nodeDom = None): - """ - convert this rspec to a dict and return it. + """ + convert this rspec to a dict and return it. """ node = {} if not nodeDom: @@ -123,7 +123,7 @@ class Rspec(): for item in rd[key]: child = elementNode(key, item) element.appendChild(child) - return element + return element node = elementNode(rdict.keys()[0], rdict.values()[0]) if include_doc: