Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 121972 Details for
Bug 181953
emerge -u --world fails on KeyError
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prevent the KeyError
circular_blocks.patch (text/plain), 858 bytes, created by
Zac Medico
on 2007-06-13 21:51:58 UTC
(
hide
)
Description:
prevent the KeyError
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-06-13 21:51:58 UTC
Size:
858 bytes
patch
obsolete
>Index: bin/emerge >=================================================================== >--- bin/emerge (revision 6837) >+++ bin/emerge (revision 6838) >@@ -2086,8 +2086,16 @@ > if not circular_blocks: > circular_blocks = True > blocker_deps = myblockers.leaf_nodes() >- if blocker_deps: >- selected_nodes = [blocker_deps.pop()] >+ while blocker_deps: >+ # Some of these nodes might have already been selected >+ # by the normal node selection process after the >+ # circular_blocks flag has been set. Therefore, we >+ # have to verify that they're still in the graph so >+ # that they're not selected more than once. >+ node = blocker_deps.pop() >+ if mygraph.contains(node): >+ selected_nodes = [node] >+ break > > if not selected_nodes: > # No leaf nodes are available, so we have a circular
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181953
: 121972