Commit 9947a003 authored by Vincent Pelletier's avatar Vincent Pelletier

Assorted coding style fixes.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28967 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fd42ebe7
...@@ -34,21 +34,22 @@ ...@@ -34,21 +34,22 @@
from Products.ERP5Type.Utils import initializeProduct, updateGlobals from Products.ERP5Type.Utils import initializeProduct, updateGlobals
import sys, Permissions import sys, Permissions
this_module = sys.modules[ __name__ ] this_module = sys.modules[ __name__ ]
document_classes = updateGlobals( this_module, globals(), permissions_module = Permissions) document_classes = updateGlobals(this_module, globals(),
permissions_module=Permissions)
# Finish installation # Finish installation
def initialize( context ): def initialize( context ):
# Define object classes and tools # Define object classes and tools
import ActivityTool, ActiveProcess import ActivityTool, ActiveProcess
object_classes = (ActiveProcess.ActiveProcess, ) object_classes = (ActiveProcess.ActiveProcess, )
portal_tools = (ActivityTool.ActivityTool,) portal_tools = (ActivityTool.ActivityTool, )
content_classes = () content_classes = ()
content_constructors = () content_constructors = ()
initializeProduct(context, this_module, globals(), initializeProduct(context, this_module, globals(),
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)
# This is used by a script (external method) that can be run # This is used by a script (external method) that can be run
# to set up CMFActivity in an existing CMF Site instance. # to set up CMFActivity in an existing CMF Site instance.
......
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