diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/url.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/spack/spack/url.py b/lib/spack/spack/url.py index 9043a5ad3e..85311ba64c 100644 --- a/lib/spack/spack/url.py +++ b/lib/spack/spack/url.py @@ -266,11 +266,11 @@ def parse_version_offset(path, debug=False): 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 a version object. """ - ver, start, l = parse_version_offset(path) + ver, start, l = parse_version_offset(path, debug=debug) return Version(ver) |