[yum-cvs] yum/yum __init__.py,1.140,1.141
Seth Vidal
skvidal at login.linux.duke.edu
Tue Oct 25 15:08:54 UTC 2005
Update of /home/groups/yum/cvs/yum/yum
In directory login:/tmp/cvs-serv20657/yum
Modified Files:
__init__.py
Log Message:
reset comps compiled when you close the rpmdb
Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.140
retrieving revision 1.141
diff -u -r1.140 -r1.141
--- __init__.py 25 Oct 2005 15:07:00 -0000 1.140
+++ __init__.py 25 Oct 2005 15:08:51 -0000 1.141
@@ -197,6 +197,9 @@
del self.read_ts
if hasattr(self, 'up'):
del self.up
+ if hasattr(self, 'comps'):
+ self.comps.compiled = False
+
def doRepoSetup(self, thisrepo=None):
"""grabs the repomd.xml for each enabled repository and sets up
More information about the Yum-cvs-commits
mailing list