Skip to content

Commit

Permalink
Update colcon_core/command.py
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@gmail.com>

Co-authored-by: Scott K Logan <logans@cottsay.net>
  • Loading branch information
clalancette and cottsay authored Apr 9, 2024
1 parent 4136c63 commit 8c937fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion colcon_core/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,8 @@ def _parse_optional(self, arg_string):
# backported to Python 3.12), it returns a 4-tuple. Check for
# either here.
if result in (
(None, arg_string, None), (None, arg_string, None, None)
(None, arg_string, None),
(None, arg_string, None, None),
):
# in the case there the arg is classified as an unknown 'O'
# override that and classify it as an 'A'
Expand Down

0 comments on commit 8c937fe

Please sign in to comment.