Allow file URLs

This commit is contained in:
Todd Gamblin 2014-01-26 02:23:05 -08:00
parent 09300d9261
commit 14278fdf0a

View file

@ -27,7 +27,7 @@
from spack.util.compression import allowed_archive
ALLOWED_SCHEMES = ["http", "https", "ftp"]
ALLOWED_SCHEMES = ["http", "https", "ftp", "file"]
def url(url_string):
url = urlparse(url_string)