From: Zac Medico Date: Mon, 10 Oct 2011 19:33:04 +0000 (-0700) Subject: FakeVartree: disable match wrapper if necessary X-Git-Tag: v2.2.0_alpha66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=743a52236f1aeadf5259c68867ea8aa22b53e8ae;p=portage.git FakeVartree: disable match wrapper if necessary --- 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