-#! /usr/bin/env python
+#!/usr/bin/env python3
import sys
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:
logger.log_exc(
"sfiDeleteAttribute FAILED on node %s: %s=%s" % (node, name, value))
- print rspec.toxml()
+ print(rspec.toxml())