[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/DTMLPage - configure.zcml:1.4

Jim Fulton jim@zope.com
Thu, 1 Aug 2002 12:07:12 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/DTMLPage
In directory cvs.zope.org:/tmp/cvs-serv10436/lib/python/Zope/App/OFS/Content/DTMLPage

Modified Files:
	configure.zcml 
Log Message:
Added type checks to registration functions to make sure interfaces
are passed where expected. A common annoying error is to pass the
module containing an interface, rather than the interface.

Interestingly, this change revealed 4 such errors in the check-in
sources. 



=== Zope3/lib/python/Zope/App/OFS/Content/DTMLPage/configure.zcml 1.3 => 1.4 ===
   <adapter
       factory="Zope.App.OFS.Annotation.AttributeAnnotations."
       provides="Zope.App.OFS.Annotation.IAnnotations."
-      for=".DTMLPage." />
+      for=".DTMLPage.IDTMLPage" />
 
 
   <include package=".Views" />