[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ContentDirective - ContentDirective.py:1.8.4.2

R. David Murray bitz@bitdance.com
Tue, 22 Oct 2002 08:19:46 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ContentDirective
In directory cvs.zope.org:/tmp/cvs-serv10611/lib/python/Zope/App/ContentDirective

Modified Files:
      Tag: rdmurray-metameta-branch
	ContentDirective.py 
Log Message:
It doesn't seem right to have the __class_implements__ and not have the
corresponding __implelents__ for ISubdirectiveHandler, so I've added those
as well.


=== Zope3/lib/python/Zope/App/ContentDirective/ContentDirective.py 1.8.4.1 => 1.8.4.2 ===
--- Zope3/lib/python/Zope/App/ContentDirective/ContentDirective.py:1.8.4.1	Mon Oct 21 19:18:28 2002
+++ Zope3/lib/python/Zope/App/ContentDirective/ContentDirective.py	Tue Oct 22 08:19:15 2002
@@ -18,6 +18,7 @@
 from types import ModuleType
 from Interface.Implements import implements
 from Zope.Configuration.INonEmptyDirective import INonEmptyDirective
+from Zope.Configuration.ISubdirectiveHandler import ISubdirectiveHandler
 from Zope.ComponentArchitecture import getService
 from Zope.Configuration.Exceptions import ConfigurationError
 from Zope.Configuration.Action import Action
@@ -36,6 +37,7 @@
 class ContentDirective:
 
     __class_implements__ = INonEmptyDirective
+    __implements__ = ISubdirectiveHandler
 
     def __init__(self, _context, class_):
         self.__id = class_