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

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


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

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

-=-
Modified: zope.html/trunk/src/zope/html/ftesting.zcml
===================================================================
--- zope.html/trunk/src/zope/html/ftesting.zcml	2007-01-11 04:53:54 UTC (rev 71907)
+++ zope.html/trunk/src/zope/html/ftesting.zcml	2007-01-11 04:54:41 UTC (rev 71908)
@@ -1,6 +1,7 @@
 <configure 
     xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
+    xmlns:zcml="http://namespaces.zope.org/zcml"
     i18n_domain="zope"
     package="zope.html"
     >
@@ -8,7 +9,15 @@
   <!-- This file is the equivalent of site.zcml and it is -->
   <!-- used for functional testing setup -->
 
-  <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.debugskin" />
   <include package="zope.app.server" />
   <include package="zope.app.authentication" />



More information about the Checkins mailing list