[Yum-devel] [PATCH] Allow "yum update" to pass the alwaysprompt check

Seth Vidal skvidal at fedoraproject.org
Mon Apr 26 19:40:46 UTC 2010



On Fri, 23 Apr 2010, James Antill wrote:

> ---
> cli.py |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/cli.py b/cli.py
> index 4d5b538..a575179 100644
> --- a/cli.py
> +++ b/cli.py
> @@ -1166,7 +1166,7 @@ class YumBaseCli(yum.YumBase, output.YumOutput):
>         for txmbr in self.tsInfo.getMembers():
>             if txmbr.isDep or \
>                    txmbr.ts_state == 'e' or \
> -                   txmbr.name not in self.extcmds:
> +                   (self.extcmds and txmbr.name not in self.extcmds):
>                 return True
>
>         # otherwise, don't prompt
> --

As discussed for a while on friday: nack.
-sv



More information about the Yum-devel mailing list