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

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


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

Changed:
  U   zope.file/trunk/src/zope/file/ftesting.zcml

-=-
Modified: zope.file/trunk/src/zope/file/ftesting.zcml
===================================================================
--- zope.file/trunk/src/zope/file/ftesting.zcml	2007-01-11 04:53:44 UTC (rev 71906)
+++ zope.file/trunk/src/zope/file/ftesting.zcml	2007-01-11 04:53:54 UTC (rev 71907)
@@ -1,10 +1,18 @@
 <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" />
 



More information about the Checkins mailing list