Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 308001 Details for
Bug 411057
app-editors/leo-4.10 version bump request
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
leo-4.10-syntax.patch
leo-4.10-syntax.patch (text/plain), 1.32 KB, created by
Ian Delaney (RETIRED)
on 2012-04-06 17:26:12 UTC
(
hide
)
Description:
leo-4.10-syntax.patch
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2012-04-06 17:26:12 UTC
Size:
1.32 KB
patch
obsolete
>diff -ur Leo-4.10-final.orig/leo/external/edb.py Leo-4.10-final/leo/external/edb.py >--- leo/external/edb.py 2012-03-28 16:34:26.000000000 +0800 >+++ leo/external/edb.py 2012-04-07 00:32:11.914803265 +0800 >@@ -74,6 +74,8 @@ > > """ > >+from __future__ import print_function >+ > # NOTE: the actual command documentation is collected from docstrings of the > # commands and is appended to __doc__ after the class has been defined. > #@-<< docstring >> >diff -ur Leo-4.10-final.orig/leo/external/leosax.py Leo-4.10-final/leo/external/leosax.py >--- leo/external/leosax.py 2012-03-28 16:34:26.000000000 +0800 >+++ leo/external/leosax.py 2012-04-07 00:31:21.705803876 +0800 >@@ -3,7 +3,7 @@ > Clones and derived files are ignored. Useful for scanning > multiple .leo files quickly. > """ >- >+from __future__ import print_function > from xml.sax.handler import ContentHandler > from xml.sax import parse > from pickle import loads >@@ -126,7 +126,7 @@ > def endElement(self, name): > """decode unknownAttributes when t element is done""" > >- self.in_ = None >+ self.in_ = None > # could maintain a stack, but we only need to know for > # character collection, so it doesn't matter > >@@ -173,4 +173,4 @@ > os.path.join('~', '.leo', 'workbook.leo') > ) > leo_data = get_leo_data(wb) >- print leo_data >+ print(leo_data)
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 411057
:
307999
| 308001