From d05aee906907be719da7e06acfa88ac6f5de7565 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 2 Jun 2020 11:17:01 +0200 Subject: [pylint] disable some warnings --- bench.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bench.py') diff --git a/bench.py b/bench.py index 6a23cd0..4458681 100755 --- a/bench.py +++ b/bench.py @@ -176,7 +176,7 @@ def main(): try: print_status("Loading", bench, "...") bench = get_benchmark_object(bench) - except Exception: + except Exception: #pylint: disable=broad-except print_error(traceback.format_exc()) print_error(f"Skipping {bench}! Loading failed.") continue @@ -184,7 +184,7 @@ def main(): try: print_status("Preparing", bench, "...") bench.prepare() - except Exception: + except Exception: #pylint: disable=broad-except print_error(traceback.format_exc()) print_error(f"Skipping {bench}! Preparing failed.") continue @@ -201,7 +201,7 @@ def main(): bench.results['facts']['start-time'] = start_time.isoformat() try: bench.run(runs=args.runs) - except Exception: + except Exception: #pylint: disable=broad-except # Reset cwd os.chdir(cwd) print_error(traceback.format_exc()) -- cgit v1.2.3