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,