[yum-cvs] /yum-utils repo-rss.py,1.3,1.4
Tim Lauridsen
timlau at linux.duke.edu
Mon Sep 25 06:57:45 UTC 2006
Update of /home/groups/yum/cvs//yum-utils
In directory login1.linux.duke.edu:/tmp/cvs-serv28904
Modified Files:
repo-rss.py
Log Message:
Chnages to make it work with the new Yum API (2.9.x)
Index: repo-rss.py
===================================================================
RCS file: /home/groups/yum/cvs//yum-utils/repo-rss.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- repo-rss.py 13 Jul 2005 09:33:45 -0000 1.3
+++ repo-rss.py 25 Sep 2006 06:57:43 -0000 1.4
@@ -28,9 +28,6 @@
def __init__(self):
yum.YumBase.__init__(self)
- def log(self, value, msg):
- pass
-
def getRecent(self, days=1):
"""return most recent packages from sack"""
@@ -173,7 +170,7 @@
days = options.days
repoids = args
my = YumQuiet()
- my.doConfigSetup()
+ my.doConfigSetup(init_plugins=False)
if os.geteuid() != 0 or options.tempcache:
cachedir = getCacheDir()
if cachedir is None:
More information about the Yum-cvs-commits
mailing list