[Zope-Checkins] CVS: Packages/OFS - DTMLDocument.py:1.50 DTMLMethod.py:1.82
Evan Simpson
evan@4-am.com
Tue, 8 Jul 2003 14:28:18 -0400
Update of /cvs-repository/Packages/OFS
In directory cvs.zope.org:/tmp/cvs-serv31317/lib/python/OFS
Modified Files:
DTMLDocument.py DTMLMethod.py
Log Message:
Provide traceback supplements for DTML Methods and Documents.
=== Packages/OFS/DTMLDocument.py 1.49 => 1.50 ===
--- Packages/OFS/DTMLDocument.py:1.49 Sun Jul 6 06:43:49 2003
+++ Packages/OFS/DTMLDocument.py Tue Jul 8 14:27:41 2003
@@ -26,6 +26,7 @@
from urllib import quote
import Globals
from AccessControl import getSecurityManager
+from zExceptions.TracebackSupplement import PathTracebackSupplement
done='done'
@@ -109,6 +110,7 @@
# Return cached results.
return data
+ __traceback_supplement__ = (PathTracebackSupplement, self)
kw['document_id'] =self.getId()
kw['document_title']=self.title
if hasattr(self, 'aq_explicit'):
=== Packages/OFS/DTMLMethod.py 1.81 => 1.82 ===
--- Packages/OFS/DTMLMethod.py:1.81 Sun Jul 6 06:43:49 2003
+++ Packages/OFS/DTMLMethod.py Tue Jul 8 14:27:41 2003
@@ -30,6 +30,7 @@
from AccessControl import getSecurityManager
from AccessControl.DTML import RestrictedDTML
from Cache import Cacheable
+from zExceptions.TracebackSupplement import PathTracebackSupplement
_marker = [] # Create a new marker object.
@@ -102,6 +103,7 @@
# Return cached results.
return data
+ __traceback_supplement__ = (PathTracebackSupplement, self)
kw['document_id'] =self.getId()
kw['document_title']=self.title