aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/dockerjob.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/run_tests/dockerjob.py')
-rwxr-xr-xtools/run_tests/dockerjob.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/run_tests/dockerjob.py b/tools/run_tests/dockerjob.py
index e4ca3b7faa..4a7e61b3c4 100755
--- a/tools/run_tests/dockerjob.py
+++ b/tools/run_tests/dockerjob.py
@@ -29,6 +29,8 @@
"""Helpers to run docker instances as jobs."""
+from __future__ import print_function
+
import jobset
import tempfile
import time
@@ -95,7 +97,7 @@ def remove_image(image, skip_nonexistent=False, max_retries=10):
stderr=subprocess.STDOUT) == 0:
return True
time.sleep(2)
- print 'Failed to remove docker image %s' % image
+ print('Failed to remove docker image %s' % image)
return False