[Zope3-checkins] CVS: Zope3/src/zope/configuration - metametaconfigurefordocgen.py:1.5

Jim Fulton jim@zope.com
Sat, 3 May 2003 12:34:32 -0400


Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv23951/src/zope/configuration

Modified Files:
	metametaconfigurefordocgen.py 
Log Message:
Updated some interface declarations to new style.



=== Zope3/src/zope/configuration/metametaconfigurefordocgen.py 1.4 => 1.5 ===
--- Zope3/src/zope/configuration/metametaconfigurefordocgen.py:1.4	Mon Dec 30 21:52:10 2002
+++ Zope3/src/zope/configuration/metametaconfigurefordocgen.py	Sat May  3 12:34:31 2003
@@ -14,8 +14,11 @@
 """
 $Id$
 """
-from zope.configuration.metametaconfigure import DirectiveNamespace as baseDirectiveNamespace
-from zope.configuration.metametaconfigure import Subdirective as baseSubdirective
+from zope.interface import classProvides
+from zope.configuration.metametaconfigure \
+     import DirectiveNamespace as baseDirectiveNamespace
+from zope.configuration.metametaconfigure \
+     import Subdirective as baseSubdirective
 from zope.configuration.interfaces import INonEmptyDirective
 from zope.configuration.interfaces import ISubdirectiveHandler
 
@@ -76,7 +79,7 @@
 class DirectiveNamespace(baseDirectiveNamespace):
     """An extended class that handles descriptions and attributes"""
 
-    __class_implements_ = INonEmptyDirective
+    classProvides(INonEmptyDirective)
     __implements__ = ISubdirectiveHandler
 
     def _Subdirective(self, *args, **kw):