[yum-cvs] yum/yum plugins.py,1.21,1.22

Menno Smits mjs at linux.duke.edu
Tue May 9 07:50:54 UTC 2006


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

Modified Files:
	plugins.py 
Log Message:
repo.set now seems to be repo.setAttribute


Index: plugins.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/plugins.py,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- plugins.py	12 Mar 2006 09:56:24 -0000	1.21
+++ plugins.py	9 May 2006 07:50:52 -0000	1.22
@@ -308,7 +308,7 @@
                 if where in (PLUG_OPT_WHERE_REPO, PLUG_OPT_WHERE_ALL):
                     val = config.getOption(conf.cfg, repo.id, name, default,
                             type2opt[vtype])
-                    repo.set(name, val)
+                    repo.setAttribute(name, val)
 
     def setCmdLine(self, opts, commands):
         '''Set the parsed command line options so that plugins can access them




More information about the Yum-cvs-commits mailing list