summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-11-27 00:44:11 -0800
committerZac Medico <zmedico@gentoo.org>2010-11-27 00:44:11 -0800
commitefbe1b636fd40c4d41d1fee1bf8b7d6996e5e4ce (patch)
treece76f7ed508a1396d736d4f0ba1797e13cb72ad2
parentc2bd4f99202f9cd68a1c1033338feb1dfe261116 (diff)
downloadportage-efbe1b636fd40c4d41d1fee1bf8b7d6996e5e4ce.tar.gz
portage-efbe1b636fd40c4d41d1fee1bf8b7d6996e5e4ce.tar.bz2
portage-efbe1b636fd40c4d41d1fee1bf8b7d6996e5e4ce.zip
depgraph: fix logic in code for bug 345979
-rw-r--r--pym/_emerge/depgraph.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index f2039e4e0..40cb27b40 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -3014,14 +3014,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