diff options
author | Gintautas Miliauskas <gintas@pov.lt> | 2004-06-12 08:13:38 +0000 |
---|---|---|
committer | Gintautas Miliauskas <gintas@pov.lt> | 2004-06-12 08:13:38 +0000 |
commit | 56001f9f96e932ac8f2cd66c0768be478172fbaf (patch) | |
tree | 91ecb2361f39840406e6933b14e95095e21dc34e | |
parent | 311d4a9271dedf554762b3d5fb4a22cbea6b697c (diff) | |
download | zope-pagetemplate-monolithic-zope3-jim-index.tar.gz |
Reverted the last merge which was too excessive.monolithic-zope3-jim-index
-rw-r--r-- | pagetemplate.py | 7 | ||||
-rw-r--r-- | readme.txt | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pagetemplate.py b/pagetemplate.py index fc1e115..1203469 100644 --- a/pagetemplate.py +++ b/pagetemplate.py @@ -51,7 +51,7 @@ class PageTemplate: engine. This method is free to use the keyword arguments it receives. - pt_render(namespace, source=False, sourceAnnotations=False) + pt_render(namespace, source=0) Responsible the TAL interpreter to perform the rendering. The namespace argument is a mapping which defines the top-level namespaces passed to the TALES expression engine. @@ -99,7 +99,7 @@ class PageTemplate: def pt_getEngine(self): return Engine - def pt_render(self, namespace, source=False, sourceAnnotations=False): + def pt_render(self, namespace, source=False): """Render this Page Template""" self._cook_check() __traceback_supplement__ = (PageTemplateTracebackSupplement, @@ -110,8 +110,7 @@ class PageTemplate: output = StringIO(u'') context = self.pt_getEngineContext(namespace) TALInterpreter(self._v_program, self._v_macros, - context, output, tal=not source, strictinsert=0, - sourceAnnotations=sourceAnnotations)() + context, output, tal=not source, strictinsert=0)() return output.getvalue() def pt_errors(self, namespace): @@ -46,7 +46,7 @@ Page Templates engine. This method is free to use the keyword arguments it receives. - pt_render(namespace, source=False, sourceAnnotations=False) + pt_render(namespace, source=0) Responsible the TAL interpreter to perform the rendering. The namespace argument is a mapping which defines the top-level namespaces passed to the TALES expression engine. |