[Zope3-checkins] CVS: Zope3/src/zope/app/http/exception - notfound.py:1.2 unauthorized.py:1.2
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 16:55:40 -0400
Update of /cvs-repository/Zope3/src/zope/app/http/exception
In directory cvs.zope.org:/tmp/cvs-serv20850/src/zope/app/http/exception
Modified Files:
notfound.py unauthorized.py
Log Message:
more new interface declarations
=== Zope3/src/zope/app/http/exception/notfound.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/http/exception/notfound.py:1.1 Wed Apr 2 15:37:43 2003
+++ Zope3/src/zope/app/http/exception/notfound.py Fri Jun 6 16:55:09 2003
@@ -18,10 +18,11 @@
__metaclass__ = type
from zope.app.interfaces.http import IHTTPException
+from zope.interface import implements
class NotFound:
- __implements__ = IHTTPException
+ implements(IHTTPException)
def __init__(self, context, request):
self.context = context
=== Zope3/src/zope/app/http/exception/unauthorized.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/http/exception/unauthorized.py:1.1 Sat Mar 29 12:03:59 2003
+++ Zope3/src/zope/app/http/exception/unauthorized.py Fri Jun 6 16:55:09 2003
@@ -18,10 +18,11 @@
__metaclass__ = type
from zope.app.interfaces.http import IHTTPException
+from zope.interface import implements
class Unauthorized:
- __implements__ = IHTTPException
+ implements(IHTTPException)
def __init__(self, context, request):
self.context = context