diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2014-01-26 02:23:05 -0800 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2014-02-05 00:17:35 -0800 |
commit | 14278fdf0a4f741203b91ca2869f8b4b93fb9fd5 (patch) | |
tree | 69a1672f8865a24d7709f5d7be1c17d55c7dcfc5 | |
parent | 09300d9261becee8d6c71c606f701dfa1d4ab29c (diff) | |
download | spack-14278fdf0a4f741203b91ca2869f8b4b93fb9fd5.tar.gz spack-14278fdf0a4f741203b91ca2869f8b4b93fb9fd5.tar.bz2 spack-14278fdf0a4f741203b91ca2869f8b4b93fb9fd5.tar.xz spack-14278fdf0a4f741203b91ca2869f8b4b93fb9fd5.zip |
Allow file URLs
-rw-r--r-- | lib/spack/spack/validate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/spack/spack/validate.py b/lib/spack/spack/validate.py index 791e26a2d7..5bdc7b7f66 100644 --- a/lib/spack/spack/validate.py +++ b/lib/spack/spack/validate.py @@ -27,7 +27,7 @@ from urlparse import urlparse 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) |