Commit c5d049dd authored by Łukasz Nowak's avatar Łukasz Nowak

- as this script uses external service it is good to put verbose information about invocation


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33848 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b6c8810d
......@@ -69,13 +69,14 @@ newSecurityManager(None, user.__of__(app.acl_users))
portal = getattr(app, options.portal_id, None)
if portal is None:
print 'Adding ERP5 site %s' % options.portal_id
app.manage_addProduct['ERP5'].manage_addERP5Site(
add_dict = dict(
id=options.portal_id,
erp5_sql_connection_string=options.erp5_sql_connection_string,
cmf_activity_sql_connection_string=\
options.cmf_activity_sql_connection_string,
erp5_catalog_storage='erp5_mysql_innodb_catalog')
erp5_catalog_storage='erp5_mysql_innodb_catalog' )
print 'Adding ERP5 site with parameters %r' % add_dict
app.manage_addProduct['ERP5'].manage_addERP5Site(**add_dict)
transaction.commit()
portal = app._getOb(options.portal_id)
......
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