Allow createZODBPythonScript to be used for SQLCatalog.Catalog


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33192 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0a009d0b
......@@ -170,7 +170,7 @@ def createZODBPythonScript(container, script_id, script_params,
container.manage_addProduct['PythonScripts']\
.manage_addPythonScript(id = script_id)
script = container[script_id]
script = container._getOb(script_id)
script.ZPythonScript_edit(script_params, script_content)
container.portal_url.getPortalObject().changeSkin(None)
return script
......
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