Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 177786 Details for
Bug 238796
sys-cluster/tentakel-2.2 - File "/usr/lib/python2.5/site-packages/lekatnet/tpg.py", line 986, in extract return self.lexer[start:stop] TypeError: object cannot be interpreted as an index
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
py25-compat.patch
tentakel-2.2-py25-compat.patch (text/plain), 848 bytes, created by
Dustin J. Mitchell
on 2009-01-08 18:03:29 UTC
(
hide
)
Description:
py25-compat.patch
Filename:
MIME Type:
Creator:
Dustin J. Mitchell
Created:
2009-01-08 18:03:29 UTC
Size:
848 bytes
patch
obsolete
>--- py/lekatnet/tpg.py 2009-01-08 09:55:10.000000000 -0800 >+++ py/lekatnet/tpg.py 2009-01-08 09:56:23.000000000 -0800 >@@ -748,8 +748,8 @@ > item.start is the token from which the extraction starts > item.stop is the token where the extraction stops > """ >- start = item.start and item.start.next_start or 0 >- stop = item.stop and item.stop.stop or -1 >+ start = item.start >+ stop = item.stop > return self.input[start:stop] > > class Token: >@@ -983,7 +983,7 @@ > start : token object as returned by mark > stop : token object as returned by mark > """ >- return self.lexer[start:stop] >+ return self.lexer[start.start+1:stop.prev_stop+1] > > def check(self, cond): > """ check a condition and backtrack when it is False
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 238796
:
167509
|
167510
| 177786