diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-01-03 00:55:38 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-01-03 00:55:38 -0800 |
commit | 5fb13528549d4b47bd807b3824405a231e596549 (patch) | |
tree | 77c8f8b20fd61a2e6a1d27236abb942b45b37d66 /pym/_emerge | |
parent | 029ec2b89b7d55c68d89b6dff3dbe5539825e71a (diff) | |
download | portage-5fb13528549d4b47bd807b3824405a231e596549.tar.gz portage-5fb13528549d4b47bd807b3824405a231e596549.tar.bz2 portage-5fb13528549d4b47bd807b3824405a231e596549.zip |
depgraph: fix bug #350254 and test it
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/depgraph.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index f62af31b8..a167b452f 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2871,7 +2871,8 @@ class depgraph(object): modified_use=self._pkg_use_enabled(pkg)): continue - if dont_miss_updates: + if packages_with_invalid_use_config and \ + (not pkg.installed or dont_miss_updates): # Check if a higher version was rejected due to user # USE configuration. The packages_with_invalid_use_config # list only contains unbuilt ebuilds since USE can't |