autounmask_broke_use_dep: flag masked pkgs too
authorZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 01:26:18 +0000 (18:26 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 May 2011 01:28:38 +0000 (18:28 -0700)
pym/_emerge/depgraph.py

index 7affe3bf90bee620be90f7c4612debde25d5fd1c..fc52558d299c9a53e137aed32167dffa798ace38 100644 (file)
@@ -2555,9 +2555,9 @@ class depgraph(object):
                                                        if not pkg.iuse.is_valid_flag(atom.unevaluated_atom.use.required) \
                                                                or atom.violated_conditionals(self._pkg_use_enabled(pkg), pkg.iuse.is_valid_flag).use:
                                                                missing_use.append(pkg)
+                                                               if atom_set_with_use.findAtomForPackage(pkg):
+                                                                       autounmask_broke_use_dep = True
                                                                if not mreasons:
-                                                                       if atom_set_with_use.findAtomForPackage(pkg):
-                                                                               autounmask_broke_use_dep = True
                                                                        continue
                                                except InvalidAtom:
                                                        writemsg("violated_conditionals raised " + \