[rhel6/master] verify package checksums against metadata (#681224)
Brian C. Lane
bcl at redhat.com
Tue Aug 14 22:33:36 UTC 2012
On Tue, Aug 14, 2012 at 05:59:17PM -0400, Chris Lumens wrote:
> > --- a/yuminstall.py
> > +++ b/yuminstall.py
> > @@ -177,7 +177,8 @@ class AnacondaCallback:
> > while self.openfile is None:
> > trynumber += 1
> > try:
> > - fn = repo.getPackage(po)
> > + checkfunc = (self.ayum.verifyPkg, (po, 1), {})
>
> This is a (function, args, kwargs) tuple?
Yes. It ultimately gets passed to URLGrabber by yum, so urlgrabber is
making a callback to self.ayum.verifyPkg(po, 1)
I'll add a comment next to it with a bit more description.
--
Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 482 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/anaconda-patches/attachments/20120814/0edd0468/attachment.sig>
More information about the anaconda-patches
mailing list