Mercurial > p > roundup > code
diff roundup/cgi/PageTemplates/PageTemplate.py @ 5478:c8902d398434
removed FasterStringIO
| author | Christof Meerwald <cmeerw@cmeerw.org> |
|---|---|
| date | Sun, 29 Jul 2018 15:52:15 +0100 |
| parents | 55f09ca366c4 |
| children | fed0f839c260 |
line wrap: on
line diff
--- a/roundup/cgi/PageTemplates/PageTemplate.py Mon Jul 30 22:09:48 2018 +0100 +++ b/roundup/cgi/PageTemplates/PageTemplate.py Sun Jul 29 15:52:15 2018 +0100 @@ -25,8 +25,9 @@ from roundup.cgi.TAL.TALParser import TALParser from roundup.cgi.TAL.HTMLTALParser import HTMLTALParser from roundup.cgi.TAL.TALGenerator import TALGenerator -from roundup.cgi.TAL.TALInterpreter import TALInterpreter, FasterStringIO +from roundup.cgi.TAL.TALInterpreter import TALInterpreter from .Expressions import getEngine +from roundup.anypy.strings import StringIO class PageTemplate: @@ -46,7 +47,7 @@ def StringIO(self): # Third-party products wishing to provide a full Unicode-aware # StringIO can do so by monkey-patching this method. - return FasterStringIO() + return StringIO() def pt_edit(self, text, content_type): if content_type:
