[yum-cvs] yum/yum __init__.py,1.313,1.314

Seth Vidal skvidal at linux.duke.edu
Tue Apr 3 05:16:53 UTC 2007


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

Modified Files:
	__init__.py 
Log Message:
don't refer to self.pkgSack until we're positive it's setup, otherwise we
get good and recursive in the wrong place - should make
--enablerepo/--disablrepo work properly when combined with excludes



Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -r1.313 -r1.314
--- __init__.py	22 Mar 2007 03:09:17 -0000	1.313
+++ __init__.py	3 Apr 2007 05:16:51 -0000	1.314
@@ -366,6 +366,7 @@
         else:
             repos = self.repos.findRepos(thisrepo)
         
+        
         self.verbose_logger.debug('Setting up Package Sacks')
         if not archlist:
             archlist = rpmUtils.arch.getArchList()
@@ -587,7 +588,7 @@
                 repo.name)
         
         exactmatch, matched, unmatched = \
-           parsePackages(self.pkgSack.returnPackages(repoid), excludelist, casematch=1)
+           parsePackages(self._pkgSack.returnPackages(repoid), excludelist, casematch=1)
 
         for po in exactmatch + matched:
             self.verbose_logger.debug('Excluding %s', po)




More information about the Yum-cvs-commits mailing list