X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=clientbin%2FsfiAddSliver.py;h=8431bd7287c678e2171060f05e42a5426a35b30d;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hp=93bb5005e6ff7977901e14b783f8a393d1de7ad3;hpb=0a9902d2a55a0a9ac03601345c4284293669012b;p=sfa.git diff --git a/clientbin/sfiAddSliver.py b/clientbin/sfiAddSliver.py index 93bb5005..8431bd72 100755 --- a/clientbin/sfiAddSliver.py +++ b/clientbin/sfiAddSliver.py @@ -16,7 +16,7 @@ command.add_nodefile_option() command.prep() if not command.opts.nodefile: - print "Missing node list -- exiting" + print("Missing node list -- exiting") command.parser.print_help() sys.exit(1) @@ -42,5 +42,5 @@ try: except: logger.log_exc("sfiAddSliver failed with nodes %s" % nodes) sys.exit(1) -print >>outfile, request_rspec.toxml() +print(request_rspec.toxml(), file=outfile) sys.exit(0)