Skip to content

Commit

Permalink
fix variable name in exception string
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters committed Oct 29, 2024
1 parent c8775be commit 1630a52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/print_package_xml_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
# https://github.com/ros-infrastructure/catkin_pkg/blob/1.0.0/src/catkin_pkg/package_version.py#L55-L58
match = re.match(r'^(\d+)\.(\d+)\.(\d+)$', version_str)
if match is None:
raise ValueError('Invalid version string, must be int.int.int: "%s"' % version)
raise ValueError('Invalid version string, must be int.int.int: "%s"' % version_str)

print(version_str, end='')

0 comments on commit 1630a52

Please sign in to comment.