Commit 53d7f498 authored by Evan Simpson's avatar Evan Simpson

Remove obsolete html argument to TALInterpreter

parent b6b70769
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
HTML- and XML-based template objects using TAL, TALES, and METAL. HTML- and XML-based template objects using TAL, TALES, and METAL.
""" """
__version__='$Revision: 1.5 $'[11:-2] __version__='$Revision: 1.6 $'[11:-2]
import os, sys, traceback import os, sys, traceback
from TAL.TALParser import TALParser from TAL.TALParser import TALParser
...@@ -150,8 +150,7 @@ class PageTemplate: ...@@ -150,8 +150,7 @@ class PageTemplate:
TALInterpreter(self._v_program, self._v_macros, TALInterpreter(self._v_program, self._v_macros,
getEngine().getContext(c), getEngine().getContext(c),
output, output,
tal=not source, tal=not source)()
html=self.html() )()
return output.getvalue() return output.getvalue()
def __call__(self, *args, **kwargs): def __call__(self, *args, **kwargs):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment