mirror of
https://git.centos.org/centos/centpkg.git
synced 2025-02-24 00:32:55 +00:00
rpkg is using new functions to validate file checksums
This commit is contained in:
parent
3ab1c85425
commit
b35b8717cf
1 changed files with 1 additions and 1 deletions
|
@ -224,7 +224,7 @@ class Commands(Commands):
|
|||
outfile = os.path.join(outdir, file)
|
||||
# See if we already have a valid copy downloaded
|
||||
if os.path.exists(outfile):
|
||||
if self._verify_file(outfile, csum, self.lookasidehash):
|
||||
if self.lookasidecache.file_is_valid(outfile, csum, self.lookasidehash):
|
||||
continue
|
||||
self.log.info("Downloading %s" % (file))
|
||||
url = '%s/%s/%s/%s' % (self.lookaside, self.module_name,
|
||||
|
|
Loading…
Add table
Reference in a new issue