Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 109194 Details for
Bug 165382
emerge error: ValueError: ['dev-db/mysql', 'virtual/mysql']
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
automatically choose the non-virtual match
ValueError.patch (text/plain), 799 bytes, created by
Zac Medico
on 2007-02-05 06:34:45 UTC
(
hide
)
Description:
automatically choose the non-virtual match
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-02-05 06:34:45 UTC
Size:
799 bytes
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 5884) >+++ pym/portage.py (working copy) >@@ -4434,8 +4434,18 @@ > for x in settings.categories: > if mydb.cp_list(x+"/"+myp,use_cache=use_cache): > matches.append(x+"/"+myp) >- if (len(matches)>1): >- raise ValueError, matches >+ if len(matches) > 1: >+ if len(matches) == 2: >+ for x in matches: >+ if not x.startswith("virtual/"): >+ # Assume that the non-virtual is desired. This helps >+ # avoid the ValueError for invalid deps that come from >+ # installed packages (during reverse blocker detection, >+ # for example). >+ mykey = x >+ break >+ if mykey is None: >+ raise ValueError, matches > elif matches: > mykey=matches[0] >
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 165382
: 109194