X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=clientbin%2FsfiAddSliver.py;h=8431bd7287c678e2171060f05e42a5426a35b30d;hp=93bb5005e6ff7977901e14b783f8a393d1de7ad3;hb=4a9e6751f9f396f463932133b9d62fc925a99ef6;hpb=648ac3fd865ea29425485f26eb0a7bf1a62281e0 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)