[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - exceptions.py:1.2
Steve Alexander
steve@cat-box.net
Tue, 3 Jun 2003 11:48:22 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv9576/src/zope/app/interfaces
Modified Files:
exceptions.py
Log Message:
new style implements()
=== Zope3/src/zope/app/interfaces/exceptions.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/interfaces/exceptions.py:1.1 Fri Mar 7 07:06:37 2003
+++ Zope3/src/zope/app/interfaces/exceptions.py Tue Jun 3 11:47:51 2003
@@ -15,7 +15,7 @@
"""
__metaclass__ = type
-from zope.interface import Interface
+from zope.interface import Interface, implements
class IUserError(Interface):
"""User error exceptions
@@ -27,5 +27,4 @@
These exceptions should generally be displayed to users unless
they are handled.
"""
-
- __implements__ = IUserError
+ implements(IUserError)