[Yum-devel] [PATCH] Tell the dsCallback() when ts_state==u that it's really an install, when it is.

Tim Lauridsen tim.lauridsen at gmail.com
Fri Jun 11 07:24:15 UTC 2010


On Thu, Jun 10, 2010 at 9:03 PM, James Antill <james at and.org> wrote:

> ---
>  yum/depsolve.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/yum/depsolve.py b/yum/depsolve.py
> index 322c412..740520f 100644
> --- a/yum/depsolve.py
> +++ b/yum/depsolve.py
> @@ -794,6 +794,8 @@ class Depsolve(object):
>                 ts_state = txmbr.ts_state
>                 if txmbr.downgrades:
>                     ts_state = 'd'
> +                if ts_state == 'u' and not txmbr.updates:
> +                    ts_state = 'i'
>                 self.dsCallback.pkgAdded(txmbr.pkgtup, ts_state)
>             self.verbose_logger.log(logginglevels.DEBUG_2,
>                                     _("Checking deps for %s") %(txmbr,))
> --
> 1.7.0.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/20100611/225d2e82/attachment.html>


More information about the Yum-devel mailing list