diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-12-13 17:29:50 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-12-14 01:09:47 +0100 |
| commit | 5dae33d63e1f22c00ca3a1cee0e73d6d2ff18488 (patch) | |
| tree | 8bee771d16556051cd603f69c222e3407a19c17f /summarize.py | |
| parent | 1f1361a3cae0bcaf82ee96d0736ed23b7763127c (diff) | |
| download | allocbench-5dae33d63e1f22c00ca3a1cee0e73d6d2ff18488.tar.gz allocbench-5dae33d63e1f22c00ca3a1cee0e73d6d2ff18488.zip | |
use sys.exit instead of exit and other small code improvements
Diffstat (limited to 'summarize.py')
| -rwxr-xr-x | summarize.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/summarize.py b/summarize.py index d974fb2..351bedf 100755 --- a/summarize.py +++ b/summarize.py @@ -96,7 +96,7 @@ def main(): if "--version" in sys.argv: print(src.facter.allocbench_version()) - exit(0) + sys.exit(0) parser = argparse.ArgumentParser(description="Summarize allocbench results in allocator sets") parser.add_argument("results", help="path to results", type=str) @@ -110,7 +110,7 @@ def main(): if not os.path.isdir(args.results): print_error(f"{args.results} is no directory") - exit(1) + sys.exit(1) if args.file_ext: src.globalvars.summary_file_ext = args.file_ext |
