Skip to content

Commit

Permalink
Add missing specs_set default
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carlstrom <rmc@carlstrom.com>
  • Loading branch information
InvincibleRMC committed Oct 7, 2024
1 parent cc29d8a commit 0bfd8d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rosidl_cli/rosidl_cli/entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def get_entry_points(group_name: str, *, specs: Optional[List[str]] = None, stri
"""
if specs is not None:
specs_set = set(specs)
else:
specs_set = None
entry_points_impl = importlib_metadata.entry_points()
# Select does not exist until python 3.10
if sys.version_info >= (3, 10):
Expand Down

0 comments on commit 0bfd8d3

Please sign in to comment.