[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/testing/functional.py Sigh, here is another dir combination. I really displike this way of doing

Stephan Richter srichter at cosmos.phy.tufts.edu
Mon Oct 31 16:28:47 EST 2005


Log message for revision 39794:
  Sigh, here is another dir combination. I really displike this way of doing 
  this. I should have a choice to set the file path *after* the module is 
  imported, but this code does not allow for this; sigh.
  
  

Changed:
  U   Zope3/trunk/src/zope/app/testing/functional.py

-=-
Modified: Zope3/trunk/src/zope/app/testing/functional.py
===================================================================
--- Zope3/trunk/src/zope/app/testing/functional.py	2005-10-31 21:23:13 UTC (rev 39793)
+++ Zope3/trunk/src/zope/app/testing/functional.py	2005-10-31 21:28:47 UTC (rev 39794)
@@ -211,7 +211,9 @@
         name,
         )
 
-if os.path.exists(os.path.join('etc', 'ftesting.zcml')):
+if os.path.exists(os.path.join('zopeskel', 'etc', 'ftesting.zcml')):
+    Functional = os.path.join('zopeskel', 'etc', 'ftesting.zcml')
+elif os.path.exists(os.path.join('etc', 'ftesting.zcml')):
     Functional = os.path.join('etc', 'ftesting.zcml')
 elif os.path.exists('ftesting.zcml'):
     Functional = 'ftesting.zcml'



More information about the Zope3-Checkins mailing list