projects
/
invirt/packages/invirt-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update print syntax
[invirt/packages/invirt-base.git]
/
python
/
invirt
/
remctl.py
diff --git
a/python/invirt/remctl.py
b/python/invirt/remctl.py
index
9dbe8bd
..
1295eac
100644
(file)
--- a/
python/invirt/remctl.py
+++ b/
python/invirt/remctl.py
@@
-41,7
+41,7
@@
def remctl(host, *args, **kws):
if kws.get('err'):
return stdout, stderr
if p.returncode:
if kws.get('err'):
return stdout, stderr
if p.returncode:
- print >> sys.stderr, 'Error', p.returncode, 'on remctl', args, ':'
- print >> sys.stderr, stderr
+ print('Error', p.returncode, 'on remctl', args, ':', file=sys.stderr)
+ print(stderr, file=sys.stderr)
raise CodeError('ERROR on remctl')
return stdout
raise CodeError('ERROR on remctl')
return stdout