[Zope3-checkins]
SVN: Zope3/trunk/src/zope/pagetemplate/pagetemplatefile.py
Removed unused document_src method.
Jim Fulton
jim at zope.com
Thu Jun 24 17:30:39 EDT 2004
Log message for revision 25972:
Removed unused document_src method.
-=-
Modified: Zope3/trunk/src/zope/pagetemplate/pagetemplatefile.py
===================================================================
--- Zope3/trunk/src/zope/pagetemplate/pagetemplatefile.py 2004-06-24 21:29:54 UTC (rev 25971)
+++ Zope3/trunk/src/zope/pagetemplate/pagetemplatefile.py 2004-06-24 21:30:39 UTC (rev 25972)
@@ -76,17 +76,6 @@
return
self._v_last_read = mtime
- def document_src(self, REQUEST=None):
- """Return expanded document source."""
-
- if REQUEST is not None:
- # Since _cook_check() can cause self.content_type to change,
- # we have to make sure we call it before setting the
- # Content-Type header.
- self._cook_check()
- REQUEST.response.setHeader('Content-Type', self.content_type)
- return self.read()
-
def pt_source_file(self):
return self.filename
More information about the Zope3-Checkins
mailing list