[Zope3-checkins] CVS: Zope3/src/zope/exceptions - _notfounderror.py:1.6

Steve Alexander steve@cat-box.net
Tue, 3 Jun 2003 11:35:29 -0400


Update of /cvs-repository/Zope3/src/zope/exceptions
In directory cvs.zope.org:/tmp/cvs-serv7851/src/zope/exceptions

Modified Files:
	_notfounderror.py 
Log Message:
New style implements()


=== Zope3/src/zope/exceptions/_notfounderror.py 1.5 => 1.6 ===
--- Zope3/src/zope/exceptions/_notfounderror.py:1.5	Wed Feb 19 10:25:58 2003
+++ Zope3/src/zope/exceptions/_notfounderror.py	Tue Jun  3 11:35:28 2003
@@ -16,6 +16,7 @@
 """
 from zope.exceptions import ZopeError, IZopeError
 from zope.interface.common.interfaces import IKeyError
+from zope.interface import implements
 
 class INotFoundError(IZopeError, IKeyError):
     pass
@@ -23,5 +24,5 @@
 class NotFoundError(ZopeError, KeyError):
     """A resource could not be found.
     """
-    __implements__ = INotFoundError
+    implements(INotFoundError)