X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=clientbin%2FsfiListLinks.py;h=140cbb64af90846dba9e8fd623bb00bd3479f4a6;hb=HEAD;hp=67e603d1efad2d1f965cf1306d24aaff02626613;hpb=8e558be62ca1e048cedb76d6036d1acbfa827bd4;p=sfa.git diff --git a/clientbin/sfiListLinks.py b/clientbin/sfiListLinks.py index 67e603d1..140cbb64 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))