From b918b621bc0f4068981fa5f73114db21adaf775c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 10 Dec 2006 09:52:16 +0000 Subject: [PATCH] Initialize the match cache in the bindbapi constructor. svn path=/main/trunk/; revision=5254 --- pym/portage.py | 1 + 1 file changed, 1 insertion(+) 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: -- 2.26.2