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

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


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

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/ZPTPage/configure.zcml 1.7 => 1.8 ===
   <adapter
       factory="Zope.App.OFS.Annotation.AttributeAnnotations."
       provides="Zope.App.OFS.Annotation.IAnnotations."
-      for=".ZPTPage." />
+      for=".ZPTPage.IZPTPage" />
 
 
   <include package=".Views" />