aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/cmd/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/cmd/__init__.py')
-rw-r--r--yardstick/cmd/__init__.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/yardstick/cmd/__init__.py b/yardstick/cmd/__init__.py
index df891e304..6b7d65792 100644
--- a/yardstick/cmd/__init__.py
+++ b/yardstick/cmd/__init__.py
@@ -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(("+"), end=' ')
+ print(("-" * barlen), end=' ')
print("+")