diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-02 03:55:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-02 03:55:16 +0000 |
commit | 6a4c16d28fbce791ef6047c522161faa3d98220c (patch) | |
tree | f14b892d66625c6ea4d9f418a5cc50ef7c4f9556 /bin | |
parent | 3421ab8a450463c1a533856469c854e810e1f8c2 (diff) | |
download | portage-6a4c16d28fbce791ef6047c522161faa3d98220c.tar.gz portage-6a4c16d28fbce791ef6047c522161faa3d98220c.tar.bz2 portage-6a4c16d28fbce791ef6047c522161faa3d98220c.zip |
Clone asap_nodes so that iteration is safe for node removal. (trunk r7124)
svn path=/main/branches/2.1.2/; revision=7125
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/emerge | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emerge b/bin/emerge index 618433e60..49907031f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2071,7 +2071,7 @@ class depgraph: selected_nodes = None if asap_nodes: """ASAP nodes are merged before their soft deps.""" - for node in asap_nodes: + for node in asap_nodes[:]: if not mygraph.contains(node): asap_nodes.remove(node) continue |