Skip to content

Commit

Permalink
py312: fix warning in string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
tornaria committed Oct 5, 2023
1 parent 93614fc commit 352a4b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/sage_bootstrap/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def _init_checksum(self):
# Name of the directory containing the checksums.ini file
self.__tarball_package_name = os.path.realpath(checksums_ini).split(os.sep)[-2]

VERSION_PATCHLEVEL = re.compile('(?P<version>.*)\.p(?P<patchlevel>[0-9]+)')
VERSION_PATCHLEVEL = re.compile(r'(?P<version>.*)\.p(?P<patchlevel>[0-9]+)')

def _init_version(self):
try:
Expand Down

0 comments on commit 352a4b6

Please sign in to comment.