From: Zac Medico Date: Tue, 19 Mar 2013 21:38:33 +0000 (-0700) Subject: _iter_similar_available: do built checks together X-Git-Tag: v2.2.0_alpha167~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=658dfb6d294bb1efcee503c6b392be74e192d9ac;p=portage.git _iter_similar_available: do built checks together --- 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 \