X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=clientbin%2FsfiListSlivers.py;h=32da6b59315359b7af6ac4bcb6884786070670ac;hp=9fdd1c0c3d8d4303f46ae02e4365ee8d2be695bf;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hpb=648ac3fd865ea29425485f26eb0a7bf1a62281e0 diff --git a/clientbin/sfiListSlivers.py b/clientbin/sfiListSlivers.py index 9fdd1c0c..32da6b59 100755 --- a/clientbin/sfiListSlivers.py +++ b/clientbin/sfiListSlivers.py @@ -21,17 +21,17 @@ if command.opts.infile: if command.opts.showatt: defaults = rspec.version.get_default_sliver_attributes() if defaults: - print "ALL NODES" + print("ALL NODES") for (name, value) in defaults: - print " %s: %s" % (name, value) + print(" %s: %s" % (name, value)) for node in nodes: hostname = None if node.get('component_id'): hostname = xrn_to_hostname(node['component_id']) if hostname: - print hostname + print(hostname) if command.opts.showatt: atts = rspec.version.get_sliver_attributes(hostname) for (name, value) in atts: - print " %s: %s" % (name, value) + print(" %s: %s" % (name, value))