From 6fa40363aa08b664a540c0c29ccb4b78bcc38c77 Mon Sep 17 00:00:00 2001 From: Felix Moessbauer Date: Thu, 4 May 2023 04:32:45 +0200 Subject: [PATCH] kas-main: do not use return type of void function The 'kas' function does not return any value, hence we must not use the return value. Signed-off-by: Felix Moessbauer Signed-off-by: Jan Kiszka --- kas/kas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kas/kas.py b/kas/kas.py index 6925cbd..4a07e5e 100644 --- a/kas/kas.py +++ b/kas/kas.py @@ -172,7 +172,7 @@ def main(): """ try: - sys.exit(kas(sys.argv[1:])) + kas(sys.argv[1:]) except Exception as err: logging.error('%s', err) traceback.print_exc()