Skip to content

Commit

Permalink
Fix SyntaxWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Feb 11, 2025
1 parent b816d28 commit 60485b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/upstream_rebuilds.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def resolve(rosdep_name):
return installer_context.get_installer(rule_installer).resolve(rule)

# regex to extract version number and build time from "1.16.0-14jammy.20240914.2055"
regex = re.compile(f'(?P<version>.*){os.environ["DEB_DISTRO"]}\.(?P<stamp>.*)')
regex = re.compile(f'(?P<version>.*){os.environ["DEB_DISTRO"]}\\.(?P<stamp>.*)')


def stamp(pkg_name):
Expand Down

0 comments on commit 60485b0

Please sign in to comment.