[Checkins] SVN: zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml avoid deprecation warnings on the Zope 3 trunk

Fred L. Drake, Jr. fdrake at gmail.com
Wed Jan 10 23:53:37 EST 2007


Log message for revision 71905:
  avoid deprecation warnings on the Zope 3 trunk

Changed:
  U   zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml

-=-
Modified: zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml
===================================================================
--- zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml	2007-01-11 00:18:03 UTC (rev 71904)
+++ zc.datetimewidget/trunk/src/zc/datetimewidget/ftesting.zcml	2007-01-11 04:53:35 UTC (rev 71905)
@@ -1,7 +1,19 @@
-<configure xmlns="http://namespaces.zope.org/zope"
-           xmlns:browser="http://namespaces.zope.org/browser"
-           i18n_domain="zope">
-  <include package="zope.app" />
+<configure
+    xmlns="http://namespaces.zope.org/zope"
+    xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:zcml="http://namespaces.zope.org/zcml"
+    i18n_domain="zope"
+    >
+
+  <include
+      zcml:condition="installed zope.app.zcmlfiles"
+      package="zope.app.zcmlfiles"
+      />
+  <include
+      zcml:condition="not-installed zope.app.zcmlfiles"
+      package="zope.app"
+      />
+
   <include package="zope.app.server" />
   <include package="zope.app.authentication" />
   <include package="zope.app.securitypolicy" file="meta.zcml" />



More information about the Checkins mailing list