On Thu, 2010-09-30 at 17:35 -0400, James Antill wrote:
> On Thu, 2010-09-30 at 16:30 -0400, Seth Vidal wrote:
> 
> > diff --git a/yum/__init__.py b/yum/__init__.py
> > index afe5354..de5f257 100644
> > --- a/yum/__init__.py
> > +++ b/yum/__init__.py
> > @@ -1937,7 +1937,7 @@ class YumBase(depsolve.Depsolve):
> >              - 2 - Fatal GPG verification error, give up.
> >          '''
> >          if hasattr(po, 'pkgtype') and po.pkgtype == 'local':
> > -            check = self.conf.gpgcheck
> > +            check = self.conf.localpkg_gpgcheck
> >              hasgpgkey = 0
> >          else:
> >              repo = self.repos.getRepo(po.repoid)
> 
>  This also does:
> 
> yum in http://example.com/blah.rpm
> 
> ...did you want that? If so ACK.

yep. It was desired.

'local' pkgs are a muddy subject anyway - and it defaults to gpgcheck's
value if it is unset.

-sv


_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to