Allow file URLs
This commit is contained in:
parent
09300d9261
commit
14278fdf0a
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
from spack.util.compression import allowed_archive
|
from spack.util.compression import allowed_archive
|
||||||
|
|
||||||
ALLOWED_SCHEMES = ["http", "https", "ftp"]
|
ALLOWED_SCHEMES = ["http", "https", "ftp", "file"]
|
||||||
|
|
||||||
def url(url_string):
|
def url(url_string):
|
||||||
url = urlparse(url_string)
|
url = urlparse(url_string)
|
||||||
|
|
Loading…
Reference in a new issue