Skip to content

Commit

Permalink
fixup! Pass verb class type instead of class instance
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay committed Jul 25, 2024
1 parent 99fcb4f commit ecd8267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colcon_core/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit ecd8267

Please sign in to comment.