From 658dfb6d294bb1efcee503c6b392be74e192d9ac Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 19 Mar 2013 14:38:33 -0700 Subject: [PATCH] _iter_similar_available: do built checks together --- pym/_emerge/depgraph.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 308c58315..dceae52f7 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -1475,9 +1475,9 @@ class depgraph(object): if self._frozen_config.excluded_pkgs.findAtomForPackage(pkg, modified_use=self._pkg_use_enabled(pkg)): continue - if pkg.built and self._equiv_binary_installed(pkg): - continue if pkg.built: + if self._equiv_binary_installed(pkg): + continue if not (not use_ebuild_visibility and (usepkgonly or useoldpkg_atoms.findAtomForPackage( pkg, modified_use=self._pkg_use_enabled(pkg)))) and \ -- 2.26.2