Merge "Bugfix: Abnormally stopped background scenario causes test data lost"
[yardstick.git] / yardstick / cmd / __init__.py
index df891e3..3756d9e 100644 (file)
@@ -6,10 +6,11 @@
 # which accompanies this distribution, and is available at
 # http://www.apache.org/licenses/LICENSE-2.0
 ##############################################################################
+from __future__ import print_function
 
 
 def print_hbar(barlen):
-    '''print to stdout a horizontal bar'''
-    print("+"),
-    print("-" * barlen),
+    """print to stdout a horizontal bar"""
+    print(("+"), end=' ')
+    print(("-" * barlen), end=' ')
     print("+")