[yum-cvs] yum/yum config.py,1.114,1.115

James Bowes jbowes at linux.duke.edu
Fri Mar 2 20:27:42 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv29127/yum

Modified Files:
	config.py 
Log Message:
get iteritems to do what its supposed to - return the value, not the option object

Index: config.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/config.py,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -r1.114 -r1.115
--- config.py	28 Feb 2007 01:50:41 -0000	1.114
+++ config.py	2 Mar 2007 20:27:40 -0000	1.115
@@ -417,7 +417,7 @@
 
         The value returned is the parsed, validated option value.
         '''
-        return self.options
+        return map (lambda (x, y) : (x, getattr(self, x)), self.options)
 
     def write(self, fileobj, section=None, always=()):
         '''Write out the configuration to a file-like object




More information about the Yum-cvs-commits mailing list