Remove leftover size comparison code snippit.
This commit is contained in:
parent
55f643eb7d
commit
c8e8f436b5
@ -1,5 +1,6 @@
|
|||||||
* Fri May 25 2007 Jesse Keating <jkeating@redhat.com>
|
* Fri May 25 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
- Handle the cdsize variable correctly
|
- Handle the cdsize variable correctly
|
||||||
|
- More fixes for cached download stuff
|
||||||
|
|
||||||
* Thu May 24 2007 Jesse Keating <jkeating@redhat.com>
|
* Thu May 24 2007 Jesse Keating <jkeating@redhat.com>
|
||||||
- Use a package checksum to verify cached download
|
- Use a package checksum to verify cached download
|
||||||
|
@ -368,7 +368,7 @@ class Gather(yum.YumBase):
|
|||||||
|
|
||||||
if not self.config.has_option('default', 'quiet'):
|
if not self.config.has_option('default', 'quiet'):
|
||||||
self.logger.info("%s already exists and appears to be complete" % local)
|
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'):
|
if not self.config.has_option('default', 'quiet'):
|
||||||
self.logger.info("%s already exists in tree and appears to be complete" % local)
|
self.logger.info("%s already exists in tree and appears to be complete" % local)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user