python: silence pylint raising-non-exception error
authorJohn Snow <jsnow@redhat.com>
Fri, 1 Nov 2024 17:37:00 +0000 (13:37 -0400)
committerKevin Wolf <kwolf@redhat.com>
Mon, 25 Nov 2024 10:03:14 +0000 (11:03 +0100)
commit05fd7214d8262878ac4d8bf8909fa315f1f589a6
tree460c755ebd2be02a4b7f6345bda576007c2ddebf
parent4c600fdcd49c5661b658c325100dcd7754b0a479
python: silence pylint raising-non-exception error

As of (at least) pylint 3.3.1, this code trips pylint up into believing
we are raising something other than an Exception. We are not: the first
two values may indeed be "None", but the last and final value must by
definition be a SystemExit exception.

Signed-off-by: John Snow <jsnow@redhat.com>
Message-ID: <20241101173700.965776-5-jsnow@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
python/scripts/mkvenv.py