Merge branch 'fix-archive' of https://github.com/mwilliammyers/spack into mwilliammyers-fix-archive

This commit is contained in:
Todd Gamblin 2016-07-04 21:35:33 -07:00
commit 6bac1598f6

View File

@ -307,9 +307,6 @@ def archive(self, destination):
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