[yum-cvs] yum/yum sqlitesack.py,1.32,1.33

Jeremy Katz katzj at linux.duke.edu
Tue May 9 18:08:20 UTC 2006


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

Modified Files:
	sqlitesack.py 
Log Message:
>From James Bowes (jbowes AT redhat DOT com)

The attached patch fixes sqllitesack's two methods, 
returnNewestByNameArch and returnNewestByName, which were looking for 
their super class in the wrong module.


Index: sqlitesack.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/sqlitesack.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- sqlitesack.py	19 Apr 2006 22:10:37 -0000	1.32
+++ sqlitesack.py	9 May 2006 18:08:18 -0000	1.33
@@ -400,7 +400,7 @@
         # returnNewestByNameArch
         if (not naTup):
             # TODO process excludes here
-            return repos.YumPackageSack.returnNewestByNameArch(self, naTup)
+            return yumRepo.YumPackageSack.returnNewestByNameArch(self, naTup)
 
         # First find all packages that fulfill naTup
         allpkg = []
@@ -421,7 +421,7 @@
         # If name is set do it from the database otherwise use our parent's
         # returnNewestByName
         if (not name):
-            return repos.YumPackageSack.returnNewestByName(self, name)
+            return yumRepo.YumPackageSack.returnNewestByName(self, name)
 
         # First find all packages that fulfill name
         allpkg = []




More information about the Yum-cvs-commits mailing list