diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2016-07-04 21:35:33 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2016-07-04 21:35:33 -0700 |
commit | 6bac1598f6778eeb23d42e0b9d072b1078290acb (patch) | |
tree | 2e80c18c09e218bd4d2b4dfc6c399328d36d5b80 /lib | |
parent | f2a692c515ee4136a5722a65dfdb111e18d4a441 (diff) | |
parent | 0384794912c6dac64a64181d591a55ea31ad7469 (diff) | |
download | spack-6bac1598f6778eeb23d42e0b9d072b1078290acb.tar.gz spack-6bac1598f6778eeb23d42e0b9d072b1078290acb.tar.bz2 spack-6bac1598f6778eeb23d42e0b9d072b1078290acb.tar.xz spack-6bac1598f6778eeb23d42e0b9d072b1078290acb.zip |
Merge branch 'fix-archive' of https://github.com/mwilliammyers/spack into mwilliammyers-fix-archive
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/fetch_strategy.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/spack/spack/fetch_strategy.py b/lib/spack/spack/fetch_strategy.py index 69c04f7920..38133ee0ca 100644 --- a/lib/spack/spack/fetch_strategy.py +++ b/lib/spack/spack/fetch_strategy.py @@ -307,9 +307,6 @@ class URLFetchStrategy(FetchStrategy): if not self.archive_file: raise NoArchiveFileError("Cannot call archive() before fetching.") - if not extension(destination) == extension(self.archive_file): - raise ValueError("Cannot archive without matching extensions.") - shutil.copy(self.archive_file, destination) @_needs_stage |