Really fix broken logic for --update greedy slot atoms in
authorZac Medico <zmedico@gentoo.org>
Wed, 7 Nov 2007 08:19:21 +0000 (08:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 7 Nov 2007 08:19:21 +0000 (08:19 -0000)
depgraph.select_files().

svn path=/main/trunk/; revision=8453

pym/_emerge/__init__.py

index 7cf132cd403f6f766a94e576ec8f919df942fcbd..e3cad61ce1c419b61ef8b4d1abdcb4f884b76bc4 100644 (file)
@@ -1825,9 +1825,9 @@ class depgraph(object):
                        # atoms could be a property of the set itself.
                        greedy_atoms = []
                        for myarg, atom in arg_atoms:
+                               greedy_atoms.append((myarg, atom))
                                if myarg.startswith(SETPREFIX):
                                        continue
-                               greedy_atoms.append((myarg, atom))
                                for greedy_atom in self._greedy_slot_atoms(myroot, atom):
                                        greedy_atoms.append((myarg, greedy_atom))
                        arg_atoms = greedy_atoms