diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-11-27 00:44:11 -0800 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-11-27 00:46:21 -0800 |
commit | 98035db52861393db8f3f6e38fb7ecbcd38a80c3 (patch) | |
tree | 55dba0437152cc3fad61d84ab7c1bef0dcd62146 /pym/_emerge/depgraph.py | |
parent | 5ad0972315a2fb1eb3cfe81db9d5527082d9dc9f (diff) | |
download | portage-98035db52861393db8f3f6e38fb7ecbcd38a80c3.tar.gz portage-98035db52861393db8f3f6e38fb7ecbcd38a80c3.tar.bz2 portage-98035db52861393db8f3f6e38fb7ecbcd38a80c3.zip |
depgraph: fix logic in code for bug 345979
Diffstat (limited to 'pym/_emerge/depgraph.py')
-rw-r--r-- | pym/_emerge/depgraph.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 7472682fc..b3c55bd8a 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -2984,14 +2984,13 @@ class depgraph(object): pkg.use.mask).intersection(need_disabled): can_adjust_use = False - if can_adjust_use: - # Above we must ensure that this package has - # absolutely no use.force, use.mask, or IUSE - # issues that the user typically can't make - # adjustments to solve (see bug #345979). - packages_with_invalid_use_config.append(pkg) - if not use_match: + if can_adjust_use: + # Above we must ensure that this package has + # absolutely no use.force, use.mask, or IUSE + # issues that the user typically can't make + # adjustments to solve (see bug #345979). + packages_with_invalid_use_config.append(pkg) continue #check REQUIRED_USE constraints |