From 8ccad6b29c15150e643c2302bd751d16aa294874 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 13 Jul 2020 11:03:05 +0200 Subject: move VERBOSITY from globalvars to util --- bench.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bench.py') diff --git a/bench.py b/bench.py index 925159b..7cb93f8 100755 --- a/bench.py +++ b/bench.py @@ -31,6 +31,7 @@ from allocbench.benchmark import get_benchmark_object from allocbench.directories import get_current_result_dir, set_current_result_dir import allocbench.facter as facter import allocbench.globalvars +import allocbench.util from allocbench.util import run_cmd from allocbench.util import print_status, print_warn, print_error from allocbench.util import print_info, print_info2, print_debug @@ -127,14 +128,14 @@ def main(): # 2: Print all infos # 3: Print everything if args.verbose: - allocbench.globalvars.VERBOSITY = args.verbose + allocbench.util.VERBOSITY = args.verbose print_info2("Arguments:", args) # Prepare allocbench print_status("Building allocbench ...") make_cmd = ["make"] - if allocbench.globalvars.VERBOSITY < 2: + if allocbench.util.VERBOSITY < 2: make_cmd.append("-s") run_cmd(make_cmd, output_verbosity=1) -- cgit v1.2.3