Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94110 Details for
Bug 143730
Portage 2.1.1_pre5 won't sync with empty portage tree
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix the AttributeError
AttributeError.patch (text/plain), 634 bytes, created by
Zac Medico
on 2006-08-12 22:38:59 UTC
(
hide
)
Description:
fix the AttributeError
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2006-08-12 22:38:59 UTC
Size:
634 bytes
patch
obsolete
>Index: pym/portage_util.py >=================================================================== >--- pym/portage_util.py (revision 4239) >+++ pym/portage_util.py (revision 4240) >@@ -80,12 +80,10 @@ > """Stacks an array of dict-types into one array. Optionally merging or > overwriting matching key/value pairs for the dict[key]->list. > Returns a single dict. Higher index in lists is preferenced.""" >- final_dict = None >+ final_dict = {} > for mydict in original_dicts: > if mydict is None: > continue >- if final_dict is None: >- final_dict = {} > for y in mydict.keys(): > if not final_dict.has_key(y): > final_dict[y] = []
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 143730
: 94110