[yum-cvs] /yum-utils repo-graph.py,1.2,1.3

Tim Lauridsen timlau at linux.duke.edu
Mon Sep 25 06:56:13 UTC 2006


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

Modified Files:
	repo-graph.py 
Log Message:
Changes to make it work with the new yum API (2.9.x)

Index: repo-graph.py
===================================================================
RCS file: /home/groups/yum/cvs//yum-utils/repo-graph.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- repo-graph.py	10 Jan 2006 17:12:13 -0000	1.2
+++ repo-graph.py	25 Sep 2006 06:56:11 -0000	1.3
@@ -33,8 +33,6 @@
 """
 
 class yumQuiet(yum.YumBase):
-    def log(self, level, msg):
-        pass
 
     def doDot(self, header):
         maxdeps = 0
@@ -106,7 +104,7 @@
     (opts, args) = parser.parse_args()
 
     my = yumQuiet()
-    my.doConfigSetup(opts.conffile)
+    my.doConfigSetup(opts.conffile, init_plugins=False)
     cachedir = getCacheDir()
     my.repos.setCacheDir(cachedir)
 




More information about the Yum-cvs-commits mailing list