# Invalidate the package selection cache, since
# arguments influence package selections.
self._highest_pkg_cache.clear()
+ for trees in self._filtered_trees.itervalues():
+ trees["porttree"].dbapi._clear_cache()
def _greedy_slots(self, root_config, atom, blocker_lookahead=False):
"""
self._match_cache = {}
self._cpv_pkg_map = {}
+ def _clear_cache(self):
+ self._match_cache.clear()
+ self._cpv_pkg_map.clear()
+
def match(self, atom):
ret = self._match_cache.get(atom)
if ret is not None: