depgraph._set_args: fix atom_arg_map for refs > 1
authorZac Medico <zmedico@gentoo.org>
Sat, 2 Mar 2013 02:55:25 +0000 (18:55 -0800)
committerZac Medico <zmedico@gentoo.org>
Sat, 2 Mar 2013 02:55:25 +0000 (18:55 -0800)
Due to an indentation error, atom_arg_map only preserved a single
set reference, preventing slot-operator rebuilds from triggering
for atoms that were also pulled in via another set such as world.

pym/_emerge/depgraph.py

index 7e51d03c5f1baa779e762e8b8a349f6111840f71..dddada072595ae086558bfbac8f6a0948480f3e9 100644 (file)
@@ -3123,8 +3123,8 @@ class depgraph(object):
                                if refs is None:
                                        refs = []
                                        atom_arg_map[atom_key] = refs
-                                       if arg not in refs:
-                                               refs.append(arg)
+                               if arg not in refs:
+                                       refs.append(arg)
 
                for root in self._dynamic_config.sets:
                        depgraph_sets = self._dynamic_config.sets[root]