since only archives with checksums can be retrieved from the cache, make sure that an archive without a checksum isnt placed there (this wouldn't cause an error but does waste space and might be confusing)
This commit is contained in:
parent
ac7323118e
commit
fd067dd8b8
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ def fetch(self):
|
|||
|
||||
if not self.archive_file:
|
||||
raise FailedDownloadError(self.url)
|
||||
else:
|
||||
elif self.digest:
|
||||
shutil.copy(self.archive_file, spack.cache_path)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue