From: Zac Medico Date: Sun, 10 Dec 2006 09:52:16 +0000 (-0000) Subject: Initialize the match cache in the bindbapi constructor. X-Git-Tag: v2.1.2~330 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b918b621bc0f4068981fa5f73114db21adaf775c;p=portage.git Initialize the match cache in the bindbapi constructor. svn path=/main/trunk/; revision=5254 --- diff --git a/pym/portage.py b/pym/portage.py index 67debcd5f..96a1ca466 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -4467,6 +4467,7 @@ class bindbapi(fakedbapi): if settings is None: settings = globals()["settings"] self.settings = settings + self._match_cache = {} def match(self, *pargs, **kwargs): if self.bintree and not self.bintree.populated: