[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces - exceptions.py:1.4
Steve Alexander
steve@cat-box.net
Tue, 3 Jun 2003 11:56:45 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces
In directory cvs.zope.org:/tmp/cvs-serv10792/src/zope/app/interfaces
Modified Files:
exceptions.py
Log Message:
Replaced the implements() statement.
Removed the __metaclass__ = type statement.
There's a bug in the interface package that this combination triggers.
=== Zope3/src/zope/app/interfaces/exceptions.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/exceptions.py:1.3 Tue Jun 3 11:51:55 2003
+++ Zope3/src/zope/app/interfaces/exceptions.py Tue Jun 3 11:56:44 2003
@@ -13,7 +13,6 @@
$Id$
"""
-__metaclass__ = type
from zope.interface import Interface, implements
@@ -27,5 +26,4 @@
These exceptions should generally be displayed to users unless
they are handled.
"""
- #implements(IUserError)
- __implements__ = IUserError
+ implements(IUserError)