[Zope3-checkins] CVS: Zope3/src/zope/configuration/tests - directives.py:1.5
Steve Alexander
steve@cat-box.net
Wed, 4 Jun 2003 06:22:21 -0400
Update of /cvs-repository/Zope3/src/zope/configuration/tests
In directory cvs.zope.org:/tmp/cvs-serv4822/src/zope/configuration/tests
Modified Files:
directives.py
Log Message:
new-style implements()
=== Zope3/src/zope/configuration/tests/directives.py 1.4 => 1.5 ===
--- Zope3/src/zope/configuration/tests/directives.py:1.4 Fri Apr 18 18:12:31 2003
+++ Zope3/src/zope/configuration/tests/directives.py Wed Jun 4 06:22:20 2003
@@ -17,7 +17,7 @@
$Id$
"""
-from zope.interface import directlyProvides, classProvides
+from zope.interface import directlyProvides, classProvides, implements
from zope.configuration.interfaces import INonEmptyDirective
from zope.configuration.interfaces import ISubdirectiveHandler
@@ -35,7 +35,7 @@
class protectClass:
classProvides(INonEmptyDirective)
- __implements__ = ISubdirectiveHandler
+ implements(ISubdirectiveHandler)
def __init__(self, _context, name, permission=None, names=None):
self._name=name