From: Zac Medico Date: Sat, 27 Nov 2010 08:44:11 +0000 (-0800) Subject: depgraph: fix logic in code for bug 345979 X-Git-Tag: v2.1.9.25~1 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=98035db52861393db8f3f6e38fb7ecbcd38a80c3;p=portage.git depgraph: fix logic in code for bug 345979 --- 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