[Zope-Checkins] CVS: Zope3/lib/python/Zope/PageTemplate - PageTemplateFile.py:1.1.2.18
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 21 Mar 2002 13:48:46 -0500
Update of /cvs-repository/Zope3/lib/python/Zope/PageTemplate
In directory cvs.zope.org:/tmp/cvs-serv2657
Modified Files:
Tag: Zope-3x-branch
PageTemplateFile.py
Log Message:
Minor cleanups and whitespace consistency.
=== Zope3/lib/python/Zope/PageTemplate/PageTemplateFile.py 1.1.2.17 => 1.1.2.18 ===
meta_type = 'Page Template (File)'
- _need__name__=1
- _v_last_read=0
+ _need__name__ = 1
+ _v_last_read = 0
def __init__(self, filename, _prefix=None, engine_name=None):
if _prefix is None:
@@ -50,8 +50,7 @@
self._engine_name = engine_name
def pt_getContext(self, **keywords):
- namespace = ViewZPT.pt_getContext(self, **keywords)
- return namespace
+ return ViewZPT.pt_getContext(self, **keywords)
def __call__(self, instance, REQUEST, *args, **kw):
"""Call a Page Template"""
@@ -89,4 +88,3 @@
def __getstate__(self):
raise StorageError, ("Instance of AntiPersistent class %s "
"cannot be stored." % self.__class__.__name__)
-