X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=clientbin%2FsfiListLinks.py;h=ed32d24b7fa317406389a3ed2a15b2b2e88a5666;hb=f27128bd33db08114f264c4028ae667c962b64c5;hp=67e603d1efad2d1f965cf1306d24aaff02626613;hpb=04a3f20dc71bf8b3f96b1e3172623aa346a638a7;p=sfa.git diff --git a/clientbin/sfiListLinks.py b/clientbin/sfiListLinks.py index 67e603d1..ed32d24b 100755 --- a/clientbin/sfiListLinks.py +++ b/clientbin/sfiListLinks.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import sys from sfa.client.sfi_commands import Commands @@ -19,4 +19,4 @@ if command.opts.infile: for link in links: ifname1 = Xrn(link['interface1']['component_id']).get_leaf() ifname2 = Xrn(link['interface2']['component_id']).get_leaf() - print "%s %s" % (ifname1, ifname2) + print("%s %s" % (ifname1, ifname2))