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 4f3ef46 commit 99fcb4f
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 @@ -190,7 +190,7 @@ def _main(
colcon_logger.debug(f'Parsed command line arguments: {args}')

# error: no verb provided
if not getattr(args, 'main', None):
if getattr(args, 'main', None) is None:
print(parser.format_usage())
return 'Error: No verb provided'

Expand Down

0 comments on commit 99fcb4f

Please sign in to comment.