git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b1da16a
)
more formatting.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 26 Jan 2009 19:42:23 +0000
(19:42 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 26 Jan 2009 19:42:23 +0000
(19:42 +0000)
util/rspec.py
patch
|
blob
|
history
diff --git
a/util/rspec.py
b/util/rspec.py
index
0817cdb
..
5445aa4
100644
(file)
--- 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: