Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 246181 Details for
Bug 336085
sys-apps/portage-2.2_rc75 (and rc74) throws AttributeError: 'NoneType' object has no attribute 'tokens'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix invalid highlight_violations() use argument
highlight_violations.patch (text/plain), 1.20 KB, created by
Zac Medico
on 2010-09-05 19:02:14 UTC
(
hide
)
Description:
fix invalid highlight_violations() use argument
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2010-09-05 19:02:14 UTC
Size:
1.20 KB
patch
obsolete
>From d5a8a4443dcc22bf0755c031ced4cef66b2cf370 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Sun, 5 Sep 2010 11:55:59 -0700 >Subject: [PATCH] Bug #336085 - Fix logic error inside > slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity() > which causes an irrelevant "use" collision reason to be passed to > highlight_violations(). > >--- > pym/_emerge/resolver/slot_collision.py | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/pym/_emerge/resolver/slot_collision.py b/pym/_emerge/resolver/slot_collision.py >index 1bde0be..3305622 100644 >--- a/pym/_emerge/resolver/slot_collision.py >+++ b/pym/_emerge/resolver/slot_collision.py >@@ -327,7 +327,12 @@ class slot_conflict_handler(object): > if ppkg == x[0] and atom == x[1]: > version_violated = True > elif type == "use": >- use.append(sub_type) >+ for x in collision_reasons[(type, sub_type)]: >+ # TODO: Review this conditional for >+ # validity (see bug #336085). >+ if ppkg == x[0] and atom == x[1]: >+ use.append(sub_type) >+ break > > atom_str = highlight_violations(atom.unevaluated_atom, version_violated, use) > >-- >1.7.1.1 >
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 336085
:
246121
| 246181