[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py
Merged from trunk 25972:
Jim Fulton
jim at zope.com
Fri Jul 2 16:52:03 EDT 2004
Log message for revision 26072:
Merged from trunk 25972:
Removed unused document_src method.
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py 2004-07-02 20:51:15 UTC (rev 26071)
+++ Zope3/branches/ZopeX3-3.0/src/zope/pagetemplate/pagetemplatefile.py 2004-07-02 20:52:02 UTC (rev 26072)
@@ -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