summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-12-10 09:52:16 +0000
committerZac Medico <zmedico@gentoo.org>2006-12-10 09:52:16 +0000
commitb918b621bc0f4068981fa5f73114db21adaf775c (patch)
tree5ecd1152bb436e4491eddd9c9a1cf94f7ac024f0
parent2783820d4f2b1c0649efdd64b775b7f2a1f7d48d (diff)
downloadportage-b918b621bc0f4068981fa5f73114db21adaf775c.tar.gz
portage-b918b621bc0f4068981fa5f73114db21adaf775c.tar.bz2
portage-b918b621bc0f4068981fa5f73114db21adaf775c.zip
Initialize the match cache in the bindbapi constructor.
svn path=/main/trunk/; revision=5254
-rw-r--r--pym/portage.py1
1 files changed, 1 insertions, 0 deletions
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: