X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=clientbin%2FgetNodes.py;fp=clientbin%2FgetNodes.py;h=d77bbbcf2ffdd5d9faacdcfdcd5cd57a85bbb5c9;hp=71d17f02c2e209fc7fc6cd7d99a3b31c085ad80b;hb=c7c7ed1178348445dc4ae70ea0fd905625e95421;hpb=6a0b6a89843b50c35f779f241f3c04eda7932054 diff --git a/clientbin/getNodes.py b/clientbin/getNodes.py index 71d17f02..d77bbbcf 100644 --- 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)) +# +# 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 - + rspec = RSpec() try: rspec.parseFile(options.infile)