Commit ee31158e authored by Jérome Perrin's avatar Jérome Perrin

remove LOG, fix indentation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8997 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6c05145e
...@@ -883,7 +883,6 @@ class ERP5Generator(PortalGenerator): ...@@ -883,7 +883,6 @@ class ERP5Generator(PortalGenerator):
create_activities=1, create_activities=1,
reindex=1, reindex=1,
**kw): **kw):
LOG('setupTools, create', 0, kw)
id = str(id) id = str(id)
portal = self.klass(id=id) portal = self.klass(id=id)
# Make sure reindex will not be called until business templates # Make sure reindex will not be called until business templates
...@@ -1140,7 +1139,6 @@ class ERP5Generator(PortalGenerator): ...@@ -1140,7 +1139,6 @@ class ERP5Generator(PortalGenerator):
tool.setChainForPortalTypes( ( 'Business Template', ), tool.setChainForPortalTypes( ( 'Business Template', ),
( 'business_template_building_workflow', ( 'business_template_building_workflow',
'business_template_installation_workflow' ) ) 'business_template_installation_workflow' ) )
pass
def setupIndex(self, p, **kw): def setupIndex(self, p, **kw):
# Make sure all tools and folders have been indexed # Make sure all tools and folders have been indexed
...@@ -1246,7 +1244,7 @@ class ERP5Generator(PortalGenerator): ...@@ -1246,7 +1244,7 @@ class ERP5Generator(PortalGenerator):
if not p.hasObject('MailHost'): if not p.hasObject('MailHost'):
self.setupMailHost(p) self.setupMailHost(p)
if int(create_userfolder) != 0 and not p.hasObject('acl_users'): if create_userfolder and not p.hasObject('acl_users'):
self.setupUserFolder(p) self.setupUserFolder(p)
if not p.hasObject('cookie_authentication'): if not p.hasObject('cookie_authentication'):
......
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