[Yum-devel] [PATCH 2/2] Fix rpmdb.getProvides(), found by the new provides check!

Tim Lauridsen tim.lauridsen at googlemail.com
Fri Apr 16 09:16:20 UTC 2010


On Thu, Apr 15, 2010 at 7:35 AM, James Antill <james at and.org> wrote:

> ---
>  yum/rpmsack.py |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/yum/rpmsack.py b/yum/rpmsack.py
> index e18df3f..eba1409 100644
> --- a/yum/rpmsack.py
> +++ b/yum/rpmsack.py
> @@ -322,8 +322,8 @@ class RPMDBPackageSack(PackageSackBase):
>             if not glob:
>                 if po.checkPrco(prcotype, (n, f, (e,v,r))):
>                     result[po.pkgid] = po
> -                else:
> -                    result[po.pkgid] = po
> +            else:
> +                result[po.pkgid] = po
>         del mi
>
>
> --
> 1.6.6.1
>
> _______________________________________________
> Yum-devel mailing list
> Yum-devel at lists.baseurl.org
> http://lists.baseurl.org/mailman/listinfo/yum-devel
>

ACK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.baseurl.org/pipermail/yum-devel/attachments/20100416/c1f30274/attachment.htm>


More information about the Yum-devel mailing list