[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/ Prefer the class over the five:implements ZCML directive.
Hanno Schlichting
hannosch at hannosch.eu
Fri Jan 1 18:17:41 EST 2010
Log message for revision 107524:
Prefer the class over the five:implements ZCML directive.
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
U Products.GenericSetup/trunk/Products/GenericSetup/PageTemplates/configure.zcml
U Products.GenericSetup/trunk/Products/GenericSetup/PythonScripts/configure.zcml
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2010-01-01 23:09:26 UTC (rev 107523)
+++ Products.GenericSetup/trunk/Products/GenericSetup/CHANGES.txt 2010-01-01 23:17:41 UTC (rev 107524)
@@ -4,6 +4,7 @@
1.6.0 (unreleased)
------------------
+- Prefer the class over the five:implements ZCML directive.
1.5.0 (2010-01-01)
------------------
Modified: Products.GenericSetup/trunk/Products/GenericSetup/PageTemplates/configure.zcml
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/PageTemplates/configure.zcml 2010-01-01 23:09:26 UTC (rev 107523)
+++ Products.GenericSetup/trunk/Products/GenericSetup/PageTemplates/configure.zcml 2010-01-01 23:17:41 UTC (rev 107524)
@@ -1,12 +1,9 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:five="http://namespaces.zope.org/five">
+<configure xmlns="http://namespaces.zope.org/zope">
<adapter factory=".exportimport.ZopePageTemplateBodyAdapter"/>
- <five:implements
- class="Products.PageTemplates.ZopePageTemplate.ZopePageTemplate"
- interface=".interfaces.IZopePageTemplate"
- />
+ <class class="Products.PageTemplates.ZopePageTemplate.ZopePageTemplate">
+ <implements interface=".interfaces.IZopePageTemplate" />
+ </class>
</configure>
Modified: Products.GenericSetup/trunk/Products/GenericSetup/PythonScripts/configure.zcml
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/PythonScripts/configure.zcml 2010-01-01 23:09:26 UTC (rev 107523)
+++ Products.GenericSetup/trunk/Products/GenericSetup/PythonScripts/configure.zcml 2010-01-01 23:17:41 UTC (rev 107524)
@@ -1,12 +1,9 @@
-<configure
- xmlns="http://namespaces.zope.org/zope"
- xmlns:five="http://namespaces.zope.org/five">
+<configure xmlns="http://namespaces.zope.org/zope">
<adapter factory=".exportimport.PythonScriptBodyAdapter"/>
- <five:implements
- class="Products.PythonScripts.PythonScript.PythonScript"
- interface=".interfaces.IPythonScript"
- />
+ <class class="Products.PythonScripts.PythonScript.PythonScript">
+ <implements interface=".interfaces.IPythonScript" />
+ </class>
</configure>
More information about the checkins
mailing list