[Yum-devel] [PATCH] Act on --releasever for all utils.py users

seth vidal skvidal at fedoraproject.org
Thu Jul 22 15:41:39 UTC 2010


On Thu, 2010-07-22 at 10:55 -0400, James Antill wrote:
> ---
>  utils.py |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/utils.py b/utils.py
> index 161fb2e..9335112 100644
> --- a/utils.py
> +++ b/utils.py
> @@ -241,6 +241,8 @@ class YumUtilBase(YumBaseCli):
>                  pc.disabled_plugins =self._parser._splitArg(opts.disableplugins)
>              if hasattr(opts, "enableplugins"):
>                  pc.enabled_plugins = self._parser._splitArg(opts.enableplugins)
> +            if hasattr(opts, "releasever"):
> +                pc.releasever = opts.releasever
>              self.conf
>  
>              # now set  all the non-first-start opts from main from our setopts


ACK

-sv




More information about the Yum-devel mailing list