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:
@@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user