git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
python3 - 2to3 + miscell obvious tweaks
[sfa.git]
/
clientbin
/
sfiAddSliver.py
diff --git
a/clientbin/sfiAddSliver.py
b/clientbin/sfiAddSliver.py
index
93bb500
..
8431bd7
100755
(executable)
--- a/
clientbin/sfiAddSliver.py
+++ b/
clientbin/sfiAddSliver.py
@@
-16,7
+16,7
@@
command.add_nodefile_option()
command.prep()
if not command.opts.nodefile:
command.prep()
if not command.opts.nodefile:
- print
"Missing node list -- exiting"
+ print
("Missing node list -- exiting")
command.parser.print_help()
sys.exit(1)
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)
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)
sys.exit(0)