Commit 514eb91b authored by Arnaud Fontaine's avatar Arnaud Fontaine

Get rid of invalid import

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39323 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent dd767bf9
......@@ -41,7 +41,6 @@ manage_addPythonScriptFormThroughZMI = \
def addPythonScriptThroughZMI(self, id, title="", REQUEST=None):
"""Add a Python script to a folder.
"""
from Products.ERP5Type.Document import addPythonScript
type_info = self.getPortalObject().portal_types.getTypeInfo("Python Script")
type_info.constructInstance(
container=self,
......
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