'sys.exit' -> 'SystemExit'

This commit is contained in:
Mike Fährmann
2023-08-21 23:46:39 +02:00
parent 410f783a33
commit 92f98e6f5e
6 changed files with 9 additions and 11 deletions

View File

@@ -9,7 +9,6 @@
""" """
import re
import sys
import logging
import operator
from . import util, exception
@@ -98,7 +97,7 @@ def action_exit(opts):
pass
def _exit(args):
sys.exit(opts)
raise SystemExit(opts)
return _exit