[Zope3-checkins] CVS: Zope3/src/zope/app/http - put.py:1.6 traversal.py:1.3
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 16:55:39 -0400
Update of /cvs-repository/Zope3/src/zope/app/http
In directory cvs.zope.org:/tmp/cvs-serv20850/src/zope/app/http
Modified Files:
put.py traversal.py
Log Message:
more new interface declarations
=== Zope3/src/zope/app/http/put.py 1.5 => 1.6 ===
--- Zope3/src/zope/app/http/put.py:1.5 Wed May 21 16:29:11 2003
+++ Zope3/src/zope/app/http/put.py Fri Jun 6 16:55:09 2003
@@ -23,12 +23,13 @@
from zope.app.interfaces.container import IZopeWriteContainer
from zope.app.event import publish
from zope.app.event.objectevent import ObjectCreatedEvent
+from zope.interface import implements
class NullResource:
"""Object representing objects to be created by a PUT.
"""
- __implements__ = INullResource
+ implements(INullResource)
def __init__(self, container, name):
self.container = container
=== Zope3/src/zope/app/http/traversal.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/http/traversal.py:1.2 Sat Mar 29 12:03:58 2003
+++ Zope3/src/zope/app/http/traversal.py Fri Jun 6 16:55:09 2003
@@ -22,10 +22,11 @@
from zope.app.interfaces.container import ISimpleReadContainer, IItemContainer
from zope.app.http.put import NullResource
from zope.exceptions import NotFoundError
+from zope.interface import implements
class ContainerTraverser:
-
- __implements__ = IPublishTraverse
+
+ implements(IPublishTraverse)
__used_for__ = ISimpleReadContainer
def __init__(self, container, request):