From ad1c8d8cc34a68cbdecaa5cec48f7f01d88d765d Mon Sep 17 00:00:00 2001 From: Marco Esters Date: Tue, 26 Nov 2024 11:01:09 -0800 Subject: [PATCH] Update src/entry_point.py Co-authored-by: jaimergp --- src/entry_point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/entry_point.py b/src/entry_point.py index cc6c91e..b678d87 100755 --- a/src/entry_point.py +++ b/src/entry_point.py @@ -194,7 +194,7 @@ def __call__(self, parser, namespace, values, option_string=None): if args.command != "uninstall": group_args = getattr(g, "_group_actions") - if all(getattr(args, arg.dest) is None for arg in group_args): + if all(getattr(args, arg.dest, None) is None for arg in group_args): required_args = [arg.option_strings[0] for arg in group_args] raise argparse.ArgumentError( f"one of the following arguments are required: {'/'.join(required_args)}"