From 743a52236f1aeadf5259c68867ea8aa22b53e8ae Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 10 Oct 2011 12:33:04 -0700 Subject: [PATCH] FakeVartree: disable match wrapper if necessary --- pym/_emerge/FakeVartree.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/FakeVartree.py b/pym/_emerge/FakeVartree.py index 140208f52..ddec7c504 100644 --- a/pym/_emerge/FakeVartree.py +++ b/pym/_emerge/FakeVartree.py @@ -62,10 +62,10 @@ class FakeVartree(vartree): # metadata. This ensures that the vardb lock is released ASAP, without # being delayed in case cache generation is triggered. self._aux_get = self.dbapi.aux_get + self._match = self.dbapi.match if dynamic_deps: self.dbapi.aux_get = self._aux_get_wrapper - self._match = self.dbapi.match - self.dbapi.match = self._match_wrapper + self.dbapi.match = self._match_wrapper self._aux_get_history = set() self._portdb_keys = ["EAPI", "DEPEND", "RDEPEND", "PDEPEND"] self._portdb = portdb -- 2.26.2