diff options
author | Mark McLoughlin <markmc@redhat.com> | 2013-04-22 14:55:51 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2013-04-22 14:55:51 +0100 |
commit | 07d23bf74b4279b313d8ea03ca9c15b330bdbf0b (patch) | |
tree | f275bd6bf2506d492ecf6b92611adc7df3c7a047 /openstack/common/rootwrap | |
parent | 120ddeff7e1b8956fe35a7a39fae87ddcac8301c (diff) | |
download | oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.tar.gz oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.tar.xz oslo-07d23bf74b4279b313d8ea03ca9c15b330bdbf0b.zip |
Use print_function __future__ import
Rather than continuing to use the old print statement, use the actual
print function introduced in python 2.6. See:
http://docs.python.org/2/whatsnew/2.6.html#pep-3105-print-as-a-function
Change-Id: I059d982d60e13f13e1caf49509c0fe0b18eda723
Diffstat (limited to 'openstack/common/rootwrap')
-rwxr-xr-x | openstack/common/rootwrap/cmd.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openstack/common/rootwrap/cmd.py b/openstack/common/rootwrap/cmd.py index f17f50a..e8f4dd0 100755 --- a/openstack/common/rootwrap/cmd.py +++ b/openstack/common/rootwrap/cmd.py @@ -33,6 +33,8 @@ they are needed, to avoid allowing more than is necessary. """ +from __future__ import print_function + import ConfigParser import os import pwd |