From: Zac Medico Date: Sat, 26 Mar 2011 16:12:38 +0000 (-0700) Subject: BlockerDB: add SLOT match in discardBlocker X-Git-Tag: v2.2.0_alpha29~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=81cd62d4db039995f291c724ab12afbaaf9ae596;p=portage.git BlockerDB: add SLOT match in discardBlocker --- diff --git a/pym/_emerge/BlockerDB.py b/pym/_emerge/BlockerDB.py index 6de63ae33..0021f2339 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)