git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Record.todict behaves suspisciously
[sfa.git]
/
clientbin
/
getNodes.py
diff --git
a/clientbin/getNodes.py
b/clientbin/getNodes.py
index
71d17f0
..
d77bbbc
100644
(file)
--- a/
clientbin/getNodes.py
+++ b/
clientbin/getNodes.py
@@
-51,13
+51,18
@@
def print_dict(rdict, options, counter=1):
if keys: print tab * (counter) + "(children: %s)" % (",".join(keys))
if keys: print tab * (counter) + "(children: %s)" % (",".join(keys))
+#
+# this code probably is obsolete
+# RSpec is not imported, it does not have a toDict() method anyway
+# plus, getNodes.py is not exposed in packaging
+#
def main():
parser = create_parser();
(options, args) = parser.parse_args()
if not options.infile:
print "RSpec file not specified"
return
def main():
parser = create_parser();
(options, args) = parser.parse_args()
if not options.infile:
print "RSpec file not specified"
return
-
+
rspec = RSpec()
try:
rspec.parseFile(options.infile)
rspec = RSpec()
try:
rspec.parseFile(options.infile)