Fix missing debug parameter for parse_version() (#2696)
This commit is contained in:
parent
c88df5819d
commit
8cb54a9a67
@ -266,11 +266,11 @@ def parse_version_offset(path, debug=False):
|
|||||||
raise UndetectableVersionError(original_path)
|
raise UndetectableVersionError(original_path)
|
||||||
|
|
||||||
|
|
||||||
def parse_version(path):
|
def parse_version(path, debug=False):
|
||||||
"""Given a URL or archive name, extract a version from it and return
|
"""Given a URL or archive name, extract a version from it and return
|
||||||
a version object.
|
a version object.
|
||||||
"""
|
"""
|
||||||
ver, start, l = parse_version_offset(path)
|
ver, start, l = parse_version_offset(path, debug=debug)
|
||||||
return Version(ver)
|
return Version(ver)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user