Commit 8e8a3bca authored by Jérome Perrin's avatar Jérome Perrin

indentations with tabs and long lines



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@11209 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e5b4306
...@@ -37,7 +37,10 @@ this_module = sys.modules[ __name__ ] ...@@ -37,7 +37,10 @@ this_module = sys.modules[ __name__ ]
product_path = package_home( globals() ) product_path = package_home( globals() )
this_module._dtmldir = os.path.join( product_path, 'dtml' ) this_module._dtmldir = os.path.join( product_path, 'dtml' )
from Products.ERP5Type.Utils import initializeProduct, updateGlobals from Products.ERP5Type.Utils import initializeProduct, updateGlobals
document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions, is_erp5_type = 1) document_classes = updateGlobals( this_module,
globals(),
permissions_module=Permissions,
is_erp5_type=1 )
import Interface, PropertySheet, ZopePatch, StateChangeInfoPatch, CMFCorePatch import Interface, PropertySheet, ZopePatch, StateChangeInfoPatch, CMFCorePatch
...@@ -60,9 +63,9 @@ def initialize( context ): ...@@ -60,9 +63,9 @@ def initialize( context ):
# Define documents, classes, constructors and tools # Define documents, classes, constructors and tools
object_classes = () object_classes = ()
content_constructors = () content_constructors = ()
content_classes = (Base.Base, XMLObject.XMLObject,) content_classes = ( Base.Base, XMLObject.XMLObject, )
portal_tools = (ClassTool.ClassTool, portal_tools = ( ClassTool.ClassTool,
CacheTool.CacheTool,) CacheTool.CacheTool, )
# Do initialization step # Do initialization step
initializeProduct(context, this_module, globals(), initializeProduct(context, this_module, globals(),
document_module = Document, document_module = Document,
...@@ -70,7 +73,7 @@ def initialize( context ): ...@@ -70,7 +73,7 @@ def initialize( context ):
object_classes = object_classes, object_classes = object_classes,
portal_tools = portal_tools, portal_tools = portal_tools,
content_constructors = content_constructors, content_constructors = content_constructors,
content_classes = content_classes) content_classes = content_classes)
# We should register product classes at some point # We should register product classes at some point
from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry from Products.ERP5Type.InitGenerator import initializeProductDocumentRegistry
initializeProductDocumentRegistry() initializeProductDocumentRegistry()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment