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

James Antill james at and.org
Thu Jul 22 14:55:31 UTC 2010


---
 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
-- 
1.7.1.1



More information about the Yum-devel mailing list