summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xopenstack/common/rootwrap/cmd.py2
-rw-r--r--tests/unit/test_processutils.py2
-rw-r--r--tests/unit/test_service.py3
3 files changed, 7 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
diff --git a/tests/unit/test_processutils.py b/tests/unit/test_processutils.py
index f096cf7..a85ed48 100644
--- a/tests/unit/test_processutils.py
+++ b/tests/unit/test_processutils.py
@@ -15,6 +15,8 @@
# License for the specific language governing permissions and limitations
# under the License.
+from __future__ import print_function
+
from openstack.common import processutils
from tests import utils
diff --git a/tests/unit/test_service.py b/tests/unit/test_service.py
index 53b7eb4..77cf7ff 100644
--- a/tests/unit/test_service.py
+++ b/tests/unit/test_service.py
@@ -19,6 +19,9 @@
"""
Unit Tests for remote procedure calls using queue
"""
+
+from __future__ import print_function
+
import os
import signal
import time