Kaydet (Commit) 7a56940e authored tarafından ğ's avatar ğ

revspsec fix

üst cdc65879
......@@ -29,8 +29,10 @@ def dictify(file,root=True):
else:
ret[child.tag] = arr
return ret
pspec = dictify(sys.argv[1])
if len(sys.argv) > 1:
pspec = dictify(sys.argv[1])
else:
pspec = dictify("pspec.xml")
def get_node(node,attr=None):
node = node.split(".")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment