[Zope-Checkins] SVN: Zope/trunk/src/OFS/metaconfigure.py - added comment (warn against usage in unit tests)
Yvo Schubbe
y.2010 at wcm-solutions.de
Sun Aug 1 06:46:31 EDT 2010
Log message for revision 115312:
- added comment (warn against usage in unit tests)
Changed:
U Zope/trunk/src/OFS/metaconfigure.py
-=-
Modified: Zope/trunk/src/OFS/metaconfigure.py
===================================================================
--- Zope/trunk/src/OFS/metaconfigure.py 2010-08-01 10:40:51 UTC (rev 115311)
+++ Zope/trunk/src/OFS/metaconfigure.py 2010-08-01 10:46:30 UTC (rev 115312)
@@ -20,6 +20,8 @@
def findProducts():
+ # Warning: This function only works reliable if called *after* running
+ # OFS.Application.import_products. ZopeLite tests disable import_products.
from types import ModuleType
products = []
for name in dir(Products):
More information about the Zope-Checkins
mailing list