Commit 7c826969 authored by Sebastien Robin's avatar Sebastien Robin

fixed unknown variable "context" on erp5 python script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39495 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16d0b5f8
......@@ -87,6 +87,14 @@ class PythonScript(XMLObject, ZopePythonScript):
, PropertySheet.DublinCore
, PropertySheet.PythonScript
)
def __init__(self, *args, **kw):
"""
override to call __init__ of python scripts in order to set
correctly bindings
"""
XMLObject.__init__(self, *args, **kw)
ZopePythonScript.__init__(self, *args, **kw)
def _setBody(self, value):
"""
......
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