diff options
author | Dirk Mueller <dirk@dmllr.de> | 2013-04-22 03:42:48 +0200 |
---|---|---|
committer | Dirk Mueller <dirk@dmllr.de> | 2013-04-22 03:42:48 +0200 |
commit | 120ddeff7e1b8956fe35a7a39fae87ddcac8301c (patch) | |
tree | b4eb9b278beca16004e6b1825d8173783390540a /openstack/common/rootwrap | |
parent | 67767b3e8074e4b4a218d7649ef2297c124c342f (diff) | |
download | oslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.tar.gz oslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.tar.xz oslo-120ddeff7e1b8956fe35a7a39fae87ddcac8301c.zip |
Improve Python 3.x compatibility
Mechanical translation of deprecated constructs
to 3.x compatible variants.
Change-Id: I4988d0ac656903e0d0320aaa8361d4eeb774a0f9
Diffstat (limited to 'openstack/common/rootwrap')
-rwxr-xr-x | openstack/common/rootwrap/cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/rootwrap/cmd.py b/openstack/common/rootwrap/cmd.py index 23986ac..f17f50a 100755 --- a/openstack/common/rootwrap/cmd.py +++ b/openstack/common/rootwrap/cmd.py @@ -58,7 +58,7 @@ def _subprocess_setup(): def _exit_error(execname, message, errorcode, log=True): - print "%s: %s" % (execname, message) + print("%s: %s" % (execname, message)) if log: LOG.error(message) sys.exit(errorcode) |