From: Zac Medico Date: Sat, 26 Mar 2011 16:12:38 +0000 (-0700) Subject: BlockerDB: add SLOT match in discardBlocker X-Git-Tag: v2.1.9.45~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=82ddeef5eb825e1661d8a6fb0bb6658306671978;p=portage.git BlockerDB: add SLOT match in discardBlocker --- diff --git a/pym/_emerge/BlockerDB.py b/pym/_emerge/BlockerDB.py index f5adc4d67..00be370d0 100644 --- a/pym/_emerge/BlockerDB.py +++ b/pym/_emerge/BlockerDB.py @@ -116,4 +116,6 @@ class BlockerDB(object): def discardBlocker(self, pkg): """Discard a package from the list of potential blockers.""" self._fake_vartree.cpv_discard(pkg) - + for slot_match in self._fake_vartree.dbapi.match_pkgs(pkg.slot_atom): + if slot_match.cp == pkg.cp: + self._fake_vartree.cpv_discard(pkg)