From ecd8267ae1af3cf1a42522d65fb8bc312ddfca38 Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Thu, 25 Jul 2024 15:44:22 -0500 Subject: [PATCH] fixup! Pass verb class type instead of class instance --- colcon_core/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colcon_core/command.py b/colcon_core/command.py index 6ac61028..84dd43cb 100644 --- a/colcon_core/command.py +++ b/colcon_core/command.py @@ -189,7 +189,7 @@ def _main( colcon_logger.debug(f'Parsed command line arguments: {args}') - # error: no verb provided + # verify that one of the verbs set the 'main' attribute to be invoked later if getattr(args, 'main', None) is None: print(parser.format_usage()) return 'Error: No verb provided'