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

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


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

Changed:
  U   zc.catalog/trunk/src/zc/catalog/browser/ftesting.zcml

-=-
Modified: zc.catalog/trunk/src/zc/catalog/browser/ftesting.zcml
===================================================================
--- zc.catalog/trunk/src/zc/catalog/browser/ftesting.zcml	2007-01-11 04:53:35 UTC (rev 71905)
+++ zc.catalog/trunk/src/zc/catalog/browser/ftesting.zcml	2007-01-11 04:53:44 UTC (rev 71906)
@@ -1,10 +1,19 @@
 <configure
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:zcml="http://namespaces.zope.org/zcml"
     i18n_domain="zc.catalog"
     >
 
-  <include package="zope.app" />
+  <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.authentication" />
   <include package="zope.app.server" />
   <include package="zope.app.keyreference" />



More information about the Checkins mailing list