diff --git a/Changelog b/Changelog index 482eef7c..3a69186a 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,6 @@ * Fri May 25 2007 Jesse Keating - Handle the cdsize variable correctly +- More fixes for cached download stuff * Thu May 24 2007 Jesse Keating - Use a package checksum to verify cached download diff --git a/pypungi/gather.py b/pypungi/gather.py index 52a5f034..63ec7d78 100755 --- a/pypungi/gather.py +++ b/pypungi/gather.py @@ -368,7 +368,7 @@ class Gather(yum.YumBase): if not self.config.has_option('default', 'quiet'): self.logger.info("%s already exists and appears to be complete" % local) - if os.path.exists(os.path.join(pkgdir, os.path.basename(remote))) and self.verifyCachePkg(pkg, os.path.join(pkgdir, os.path.basename(remote))) == pkg.packagesize: + if os.path.exists(os.path.join(pkgdir, os.path.basename(remote))) and self.verifyCachePkg(pkg, os.path.join(pkgdir, os.path.basename(remote))): if not self.config.has_option('default', 'quiet'): self.logger.info("%s already exists in tree and appears to be complete" % local) else: