[Yum-devel] [PATCH] Speedup repeated calls to .install() with a pattern, via. returnPackages(). Add negative caching to both sqlite and rpmdb. Add pkg names with a '-' in them to pkgnames_loaded in sqlite.

James Antill james at fedoraproject.org
Tue Mar 30 22:56:02 UTC 2010


On Tue, 2010-03-30 at 16:41 -0400, Mike Bonnet wrote:
> On 03/30/2010 04:18 PM, James Antill wrote:
> >      @staticmethod
> > -    def _compile_patterns(patterns, ignore_case=False):
> > +    def _compile_patterns(self, patterns, ignore_case=False):
> 
> Static methods don't get passed "self".

 Yeh, found that the hard way when testing the second patch :).
 It's fixed there atm.



More information about the Yum-devel mailing list