forked from github.com/pypiserver
Fix deprecation warnings due to invalid escape sequences. (#317)
This commit is contained in:
parent
11ed7e6abd
commit
0a9904af57
@ -134,7 +134,7 @@ def parse_version(s):
|
|||||||
|
|
||||||
_archive_suffix_rx = re.compile(
|
_archive_suffix_rx = re.compile(
|
||||||
r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|-py[23]\.\d-.*|"
|
r"(\.zip|\.tar\.gz|\.tgz|\.tar\.bz2|-py[23]\.\d-.*|"
|
||||||
"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$",
|
r"\.win-amd64-py[23]\.\d\..*|\.win32-py[23]\.\d\..*|\.egg)$",
|
||||||
re.I)
|
re.I)
|
||||||
wheel_file_re = re.compile(
|
wheel_file_re = re.compile(
|
||||||
r"""^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?))
|
r"""^(?P<namever>(?P<name>.+?)-(?P<ver>\d.*?))
|
||||||
|
Loading…
Reference in New Issue
Block a user