[yum-cvs] yum/config.py

Seth Vidal skvidal at linux.duke.edu
Tue Oct 30 22:51:11 UTC 2007


 yum/config.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit fd088b41b36acdcf50b53ad081dfbc0250bd0504
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Oct 30 18:51:03 2007 -0400

    fix disable_excludes for non-cli callers of yum

diff --git a/yum/config.py b/yum/config.py
index bf00852..e4b7c34 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -529,6 +529,8 @@ class YumConf(StartupConf):
     metadata_expire = IntOption(1800)   # time in seconds
     mirrorlist_expire = IntOption(86400) # time in seconds (1 day)
     rpm_check_debug = BoolOption(True)
+    disable_excludes = ListOption()    
+
     
     _reposlist = []
 
@@ -634,7 +636,7 @@ def readMainConfig(startupconf):
     # propagate the debuglevel and errorlevel values:
     yumconf.debuglevel = startupconf.debuglevel
     yumconf.errorlevel = startupconf.errorlevel
-
+    
     return yumconf
 
 def getOption(conf, section, name, option):



More information about the Yum-cvs-commits mailing list