[Erp5-report] r29610 - /erp5/trunk/products/ERP5/ERP5Site.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 13 18:10:56 CEST 2009
Author: leonardo
Date: Tue Oct 13 18:10:55 2009
New Revision: 29610
URL: http://svn.erp5.org?rev=29610&view=rev
Log:
clarifying comments
Modified:
erp5/trunk/products/ERP5/ERP5Site.py
Modified: erp5/trunk/products/ERP5/ERP5Site.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/ERP5Site.py?rev=29610&r1=29609&r2=29610&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/ERP5Site.py [utf8] (original)
+++ erp5/trunk/products/ERP5/ERP5Site.py [utf8] Tue Oct 13 18:10:55 2009
@@ -1660,6 +1660,9 @@
# are no longer action providers
return
except ImportError:
+ # Currently ERP5 tests don't load ZCML which is needed by the above
+ # import on CMF 1.5. This "try" should be removed when ERP5 tests
+ # start loading ZCML.
pass
action_id_list = [i.id for i in tool.listActions()]
remove_index_list = []
@@ -1701,7 +1704,9 @@
try:
from Products.CMFCore.DirectoryView import _generateKey
except ImportError:
- # Still on CMF 1.x
+ # Means we're still on CMF 1.x, were they generate the DirectoryView
+ # key using minimalpath
+ # ( see Products.CMFCore.DirectoryView.addDirectoryViews() )
from Products.CMFCore.DirectoryView import minimalpath
def _generateKey(package, subdir):
package_path = os.path.dirname(package.__file__)
More information about the Erp5-report
mailing list