X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=blobdiff_plain;f=clientbin%2FsfiDeleteAttribute.py;h=d60de403a78942ae9d07df67ae5105af33bb434b;hp=d0ae0b4c7966f472b9faf83a69a7c273ffc7407d;hb=HEAD;hpb=8e558be62ca1e048cedb76d6036d1acbfa827bd4 diff --git a/clientbin/sfiDeleteAttribute.py b/clientbin/sfiDeleteAttribute.py index d0ae0b4c..d60de403 100755 --- a/clientbin/sfiDeleteAttribute.py +++ b/clientbin/sfiDeleteAttribute.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#!/usr/bin/env python3 import sys @@ -29,7 +29,7 @@ if command.opts.infile: f.close() for name in attrs: - print >> sys.stderr, name, attrs[name] + print(name, attrs[name], file=sys.stderr) for value in attrs[name]: if not nodes: try: @@ -46,4 +46,4 @@ if command.opts.infile: logger.log_exc( "sfiDeleteAttribute FAILED on node %s: %s=%s" % (node, name, value)) - print rspec.toxml() + print(rspec.toxml())