On 06/23/2016 12:38 AM, Zac Medico wrote:
> diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
> index f78f08d..ef3cc5d 100644
> --- a/pym/_emerge/depgraph.py
> +++ b/pym/_emerge/depgraph.py
> @@ -1822,6 +1822,22 @@ class depgraph(object):
>                                               # necessarily relevant.
>                                               continue
>  
> +                                     if (not 
> self._frozen_config.excluded_pkgs.
> +                                             findAtomForPackage(parent,
> +                                             
> modified_use=self._pkg_use_enabled(parent)) and
> +                                             
> self._upgrade_available(parent)):
> +                                             want_update = False
> +                                             for grandparent in 
> self._dynamic_config.digraph.\
> +                                                     parent_nodes(parent):
> +                                                     if 
> self._want_update_pkg(grandparent, parent):
> +                                                             want_update = 
> True
> +                                                             break
> +
> +                                             if want_update:
> +                                                     # This parent may be 
> irrelevant, since an
> +                                                     # update is available 
> (see bug 584626).
> +                                                     continue
> +

I've simplified this as follows:

        if (not self._too_deep(parent.depth) and
                not self._frozen_config.excluded_pkgs.
                findAtomForPackage(parent,
                modified_use=self._pkg_use_enabled(parent)) and
                self._upgrade_available(parent)):
                # This parent may be irrelevant, since an
                # update is available (see bug 584626).
                continue

-- 
Thanks,
Zac

Reply via email to