[Erp5-report] r29362 - /erp5/trunk/products/ERP5Type/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 1 17:11:53 CEST 2009


Author: jerome
Date: Thu Oct  1 17:11:49 2009
New Revision: 29362

URL: http://svn.erp5.org?rev=29362&view=rev
Log:
revert changes commited by mistake

Modified:
    erp5/trunk/products/ERP5Type/__init__.py

Modified: erp5/trunk/products/ERP5Type/__init__.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/__init__.py?rev=29362&r1=29361&r2=29362&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/__init__.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/__init__.py [utf8] Thu Oct  1 17:11:49 2009
@@ -56,7 +56,6 @@
 class_tool_security_path = '%s%s%s' % (product_path, os.sep, 'ALLOW_CLASS_TOOL')
 
 def allowClassTool():
-  return True
   return os.access(class_tool_security_path, os.F_OK)
 
 def initialize( context ):
@@ -100,8 +99,9 @@
   # We should register local classes at some point
   from Products.ERP5Type.Utils import initializeLocalDocumentRegistry
   initializeLocalDocumentRegistry()
-  # Interactor
-  import Interactor
+  # Experimental Interactor
+  if USE_INTERACTOR:
+    import Interactor
 
 from AccessControl.SecurityInfo import allow_module
 from AccessControl.SecurityInfo import ModuleSecurityInfo




More information about the Erp5-report mailing list