1
0

use adhoc print function

This commit is contained in:
ThomasV
2012-11-23 18:48:56 +01:00
parent 2c0f894e76
commit d6edf45eb7
3 changed files with 56 additions and 53 deletions

View File

@@ -9,6 +9,9 @@ def set_verbosity(b):
def print_error(*args):
if not is_verbose: return
print_msg(args)
def print_msg(*args):
# Stringify args
args = [str(item) for item in args]
sys.stderr.write(" ".join(args) + "\n")