[yum-git] Branch 'yum-3_2_X' - yum/config.py
Tim Lauridsen
timlau at linux.duke.edu
Thu Aug 28 08:37:48 UTC 2008
yum/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bd3d31be21f5638867d9d03308e4cf84e1544d84
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Thu Aug 28 10:37:36 2008 +0200
Restore Standard ConfigParser compatibility to config.py
diff --git a/yum/config.py b/yum/config.py
index fb34c06..b269308 100644
--- a/yum/config.py
+++ b/yum/config.py
@@ -482,7 +482,7 @@ class BaseConfig(object):
option = self.optionobj(name)
value = None
if name in opts:
- value = parser.data[section][name]
+ value = parser.get(section, name)
else:
# No matching option in this section, try inheriting
if parent and option.inherit:
More information about the Yum-cvs-commits
mailing list