From 1b1bba143fc7386959203e3515ec6793494ba176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 15 May 2024 18:26:42 +0200 Subject: [PATCH] Make pylint happy Make it clearer about unreachable state - parser.error() raises an exception. --- qubesappmenus/receive.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubesappmenus/receive.py b/qubesappmenus/receive.py index 4037b7a..e7ef4ef 100755 --- a/qubesappmenus/receive.py +++ b/qubesappmenus/receive.py @@ -392,6 +392,8 @@ def main(args=None): vm = args.app.domains[env_vmname] elif not args.domains: parser.error("You must specify at least the VM name!") + # pylint doesn't know parser.error doesn't return + assert False else: vm = args.domains[0]