[Zope3-checkins] CVS: Zope3/src/zope/pagetemplate - pagetemplate.py:1.9

Steve Alexander steve@cat-box.net
Wed, 4 Jun 2003 05:10:16 -0400


Update of /cvs-repository/Zope3/src/zope/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv26591/src/zope/pagetemplate

Modified Files:
	pagetemplate.py 
Log Message:
new style implements()


=== Zope3/src/zope/pagetemplate/pagetemplate.py 1.8 => 1.9 ===
--- Zope3/src/zope/pagetemplate/pagetemplate.py:1.8	Tue Jun  3 18:46:26 2003
+++ Zope3/src/zope/pagetemplate/pagetemplate.py	Wed Jun  4 05:09:45 2003
@@ -61,11 +61,6 @@
         passed to the TALES expression engine, then calls pt_render()
         to perform the rendering.
     """
-
-    # XXX this breaks something in the Zope3 views registries.
-    # Temporarily removed. SteveA 2002-10-22
-    #__implements__ = IMacrosAttribute
-
     content_type = 'text/html'
     expand = 1
     _v_errors = ()
@@ -228,7 +223,7 @@
 
 
 class PageTemplateTracebackSupplement:
-    #__implements__ = ITracebackSupplement
+    #implements(ITracebackSupplement)
 
     def __init__(self, pt, namespace):
         self.manageable_object = pt