Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 364204 Details for
Bug 491496
x11-libs/libxcb-1.9.1 with x11-proto/xcb-proto-1.9-r1 - .../work/libxcb-1.9.1/src/c_client.py: AttributeError: 'list' object has no attribute 'lenfield_name'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1.8-r3-fix-expression-len.patch
1.8-r3-fix-expression-len.patch (text/plain), 1.05 KB, created by
gerardo@gnuardo.com
on 2013-11-29 16:19:16 UTC
(
hide
)
Description:
1.8-r3-fix-expression-len.patch
Filename:
MIME Type:
Creator:
gerardo@gnuardo.com
Created:
2013-11-29 16:19:16 UTC
Size:
1.05 KB
patch
obsolete
>--- xtypes.py 2012-03-26 18:37:05.000000000 +0200 >+++ xtypes.py 2013-11-29 16:55:23.629000000 +0100 >@@ -481,9 +481,15 @@ > ''' > def __init__(self, index, name, elt, *parent): > elts = list(elt) >- self.expr = Expression(elts[0] if len(elts) else elt, self) >- ComplexType.__init__(self, name, elts[1:]) >- self.has_name = True >+ self.expr = [] >+ fields = [] >+ for elt in elts: >+ if elt.tag == 'enumref': >+ self.expr.append(Expression(elt, self)) >+ else: >+ fields.append(elt) >+ ComplexType.__init__(self, name, fields) >+ self.has_name = True > self.index = 1 > self.lenfield_parent = list(parent) + [self] > self.parents = list(parent) >@@ -511,7 +517,8 @@ > if self.resolved: > return > >- self.expr.resolve(module, self.parents+[self]) >+ for e in self.expr: >+ e.resolve(module, self.parents+[self]) > > # Resolve the bitcase expression > ComplexType.resolve(self, module)
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 491496
:
363618
|
363620
| 364204 |
364206