[yum-cvs] yum/yum __init__.py,1.318,1.319

Jeremy Katz katzj at linux.duke.edu
Wed Apr 18 23:16:47 UTC 2007


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

Modified Files:
	__init__.py 
Log Message:
fix explicit sack setup (rh#231543)


Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.318
retrieving revision 1.319
diff -u -r1.318 -r1.319
--- __init__.py	18 Apr 2007 21:41:59 -0000	1.318
+++ __init__.py	18 Apr 2007 23:16:45 -0000	1.319
@@ -307,7 +307,7 @@
     def _getRepos(self, thisrepo=None, doSetup = False):
         """grabs the repomd.xml for each enabled repository and sets up 
            the basics of the repository"""
-        
+
         if not self._repos:
             self._repos = RepoStorage()       
             # Get our list of repo objects from conf, add them to the repos collection        
@@ -353,9 +353,6 @@
         """populates the package sacks for information from our repositories,
            takes optional archlist for archs to include"""
         
-        if self._pkgSack:
-            return self._pkgSack
-        
         if self._pkgSack and thisrepo is None:
             self.verbose_logger.log(logginglevels.DEBUG_4,
                 'skipping reposetup, pkgsack exists')




More information about the Yum-cvs-commits mailing list