From eb3698637fac7e0350f52c258c58387a1dd5f966 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Mon, 17 Feb 2020 22:56:19 -0800 Subject: [PATCH] Use SystemExit instead of sys.exit, like my other programs. --- voussoirkit/bytestring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voussoirkit/bytestring.py b/voussoirkit/bytestring.py index 1b6c65d..1cedc8e 100644 --- a/voussoirkit/bytestring.py +++ b/voussoirkit/bytestring.py @@ -129,4 +129,4 @@ def main(args=None): pipeable.output(bytestring(n)) if __name__ == '__main__': - sys.exit(main(sys.argv[1:])) + raise SystemExit(main(sys.argv[1:]))