X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=yardstick%2Fcmd%2F__init__.py;h=df891e304d945a5da5dd4a939b16a67f4a8f9627;hb=1873da9a908a50fe70a074731e3643297b6eab6d;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=40f49a42dd8476ad2332ecf2e0a57e6bf511aa63;p=yardstick.git diff --git a/yardstick/cmd/__init__.py b/yardstick/cmd/__init__.py index e69de29bb..df891e304 100644 --- a/yardstick/cmd/__init__.py +++ b/yardstick/cmd/__init__.py @@ -0,0 +1,15 @@ +############################################################################## +# Copyright (c) 2015 Ericsson AB and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + + +def print_hbar(barlen): + '''print to stdout a horizontal bar''' + print("+"), + print("-" * barlen), + print("+")