summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormwilliammyers <mwilliammyers@gmail.com>2016-06-27 16:00:38 -0600
committermwilliammyers <mwilliammyers@gmail.com>2016-06-27 16:00:38 -0600
commit0384794912c6dac64a64181d591a55ea31ad7469 (patch)
treeffd4584a9ce439e74d872169b9eb9b77007aa901 /lib
parent055f7f4ab61603dfd8634319a919b5a0daba06bc (diff)
downloadspack-0384794912c6dac64a64181d591a55ea31ad7469.tar.gz
spack-0384794912c6dac64a64181d591a55ea31ad7469.tar.bz2
spack-0384794912c6dac64a64181d591a55ea31ad7469.tar.xz
spack-0384794912c6dac64a64181d591a55ea31ad7469.zip
Fix #1019 - cannot create mirror for git spec
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 1953d7c1b3..afd293e4ec 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.move(self.archive_file, destination)
@_needs_stage