[Yum-devel] [PATCH] Show obsoletes in check-update if obsoletes processing is on, BZ 526064

Seth Vidal skvidal at fedoraproject.org
Tue Sep 29 20:56:00 UTC 2009



On Tue, 29 Sep 2009, James Antill wrote:

> ---
> yumcommands.py |    3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/yumcommands.py b/yumcommands.py
> index 82c679b..1451a36 100644
> --- a/yumcommands.py
> +++ b/yumcommands.py
> @@ -577,7 +577,8 @@ class CheckUpdateCommand(YumCommand):
>         result = 0
>         try:
>             ypl = base.returnPkgLists(extcmds)
> -            if base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3):
> +            if (base.conf.obsoletes or
> +                base.verbose_logger.isEnabledFor(logginglevels.DEBUG_3)):
>                 typl = base.returnPkgLists(['obsoletes'])
>                 ypl.obsoletes = typl.obsoletes
>                 ypl.obsoletesTuples = typl.obsoletesTuples

<shrug> sure - I guess - what good is this doing?

-sv



More information about the Yum-devel mailing list