summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2016-07-04 21:35:33 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2016-07-04 21:35:33 -0700
commit6bac1598f6778eeb23d42e0b9d072b1078290acb (patch)
tree2e80c18c09e218bd4d2b4dfc6c399328d36d5b80 /lib
parentf2a692c515ee4136a5722a65dfdb111e18d4a441 (diff)
parent0384794912c6dac64a64181d591a55ea31ad7469 (diff)
downloadspack-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.py3
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