[Zope3-checkins] CVS: Zope3/src/zope/app/pagetemplate - simpleviewclass.py:1.9 talesapi.py:1.5
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 16:45:02 -0400
Update of /cvs-repository/Zope3/src/zope/app/pagetemplate
In directory cvs.zope.org:/tmp/cvs-serv19301/src/zope/app/pagetemplate
Modified Files:
simpleviewclass.py talesapi.py
Log Message:
yet another batch of updated interface declarations
=== Zope3/src/zope/app/pagetemplate/simpleviewclass.py 1.8 => 1.9 ===
--- Zope3/src/zope/app/pagetemplate/simpleviewclass.py:1.8 Tue May 27 10:18:20 2003
+++ Zope3/src/zope/app/pagetemplate/simpleviewclass.py Fri Jun 6 16:44:31 2003
@@ -22,10 +22,11 @@
from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
from zope.context import ContextMethod
from zope.publisher.interfaces import NotFound
+from zope.interface import implements
class simple(BrowserView):
- __implements__ = IBrowserPublisher, BrowserView.__implements__
+ implements(IBrowserPublisher)
def browserDefault(self, request):
return self, ()
=== Zope3/src/zope/app/pagetemplate/talesapi.py 1.4 => 1.5 ===
--- Zope3/src/zope/app/pagetemplate/talesapi.py:1.4 Tue Jun 3 18:46:21 2003
+++ Zope3/src/zope/app/pagetemplate/talesapi.py Fri Jun 6 16:44:31 2003
@@ -21,10 +21,11 @@
from zope.app.interfaces.dublincore import IZopeDublinCore
from zope.app.interfaces.size import ISized
from zope.app import zapi
+from zope.interface import implements
class ZopeTalesAPI(object):
- __implements__ = IZopeTalesAPI
+ implements(IZopeTalesAPI)
def __init__(self, context):
self.context = context