X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=clientbin%2FsfiDeleteAttribute.py;h=d60de403a78942ae9d07df67ae5105af33bb434b;hb=78e5fb75e3793ae9dfce7f1bbd4a2b0f27b7ecc6;hp=d0ae0b4c7966f472b9faf83a69a7c273ffc7407d;hpb=04a3f20dc71bf8b3f96b1e3172623aa346a638a7;p=sfa.git 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())