devtools/repotest.py
changeset 10589 7c23b7de2b8d
parent 10365 21461f80f348
child 10662 10942ed172de
--- a/devtools/repotest.py	Fri Sep 11 14:28:06 2015 +0200
+++ b/devtools/repotest.py	Fri Sep 11 14:52:09 2015 +0200
@@ -19,6 +19,7 @@
 
 This module contains functions to initialize a new repository.
 """
+from __future__ import print_function
 
 __docformat__ = "restructuredtext en"
 
@@ -66,7 +67,7 @@
         self.assertEqual(len(step[-1]), len(expected[-1]),
                           'got %s child steps, expected %s' % (len(step[-1]), len(expected[-1])))
     except AssertionError:
-        print 'error on step ',
+        print('error on step ', end=' ')
         pprint(step[:-1])
         raise
     children = step[-1]