From b35b8717cf88544bd2eef3f2b0b8e89d6715ee07 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Jul 25 2015 00:49:19 +0000 Subject: rpkg is using new functions to validate file checksums --- diff --git a/src/centpkg/__init__.py b/src/centpkg/__init__.py index 30d90bb..86a306f 100644 --- a/src/centpkg/__init__.py +++ b/src/centpkg/__init__.py @@ -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,