From 5f0597c73736f19a745e3f48782f443e14f8b7b4 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Sun, 10 May 2020 10:03:01 +0200 Subject: scripts: improve code quality from some scripts --- scripts/histogram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/histogram.py') diff --git a/scripts/histogram.py b/scripts/histogram.py index 5bca21c..2bf6779 100755 --- a/scripts/histogram.py +++ b/scripts/histogram.py @@ -48,7 +48,7 @@ def main(): if fname.startswith("chatty") and fext == ".txt": try: chattyparser = importlib.import_module("chattyparser") - except ModuleNotFoundError as err: + except ModuleNotFoundError: print("Can't import chattyparser") sys.exit(1) hist, calls, _ = chattyparser.parse(args.input_file, coll_size=False) -- cgit v1.2.3