[ZPT] CVS: Zope/lib/python/Products/PageTemplates - ZopePageTemplate.py:1.30.2.3

Shane Hathaway shane@cvs.zope.org
Tue, 5 Mar 2002 17:55:31 -0500


Update of /cvs-repository/Zope/lib/python/Products/PageTemplates
In directory cvs.zope.org:/tmp/cvs-serv11046

Modified Files:
      Tag: shane-better-tracebacks-branch
	ZopePageTemplate.py 
Log Message:
This traceback supplement is no longer needed

=== Zope/lib/python/Products/PageTemplates/ZopePageTemplate.py 1.30.2.2 => 1.30.2.3 ===
         security.addContext(self)
         try:
-            __traceback_supplement__ = (
-                ZopePageTemplateTracebackSupplement, self)
             result = self.pt_render(extra_context=bound_names)
             if keyset is not None:
                 # Store the result in the cache.
@@ -297,23 +295,6 @@
 
 d = ZopePageTemplate.__dict__
 d['source.xml'] = d['source.html'] = Src()
-
-
-class ZopePageTemplateTracebackSupplement:
-    """Implementation of Products.ErrorReporter.ITracebackSupplement"""
-    def __init__(self, template):
-        self.template = template
-
-    def getManageableObject(self):
-        return self.template
-
-    def getInfo(self, as_html=0):
-        return None
-
-    def getLine(self):
-        # N/A
-        return None
-    getColumn = getExpression = getLine
 
 
 # Product registration and Add support