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
NOT YET WORKING
[sfa.git]
/
clientbin
/
sfiDeleteAttribute.py
diff --git
a/clientbin/sfiDeleteAttribute.py
b/clientbin/sfiDeleteAttribute.py
index
d0ae0b4
..
d60de40
100755
(executable)
--- a/
clientbin/sfiDeleteAttribute.py
+++ b/
clientbin/sfiDeleteAttribute.py
@@
-1,4
+1,4
@@
-#!
/usr/bin/env python
+#!
/usr/bin/env python3
import sys
import sys
@@
-29,7
+29,7
@@
if command.opts.infile:
f.close()
for name in attrs:
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:
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))
logger.log_exc(
"sfiDeleteAttribute FAILED on node %s: %s=%s" % (node, name, value))
- print
rspec.toxml(
)
+ print
(rspec.toxml()
)