py3: PythonScript: func_{code,defaults} (Python2 only) => __{code,defaults}__ (Python2/Python3).
Use the latter form that works on both. On non-PythonScript code, this is of course not an issue but Python2 PythonScript does not have a __code__ properties and requires a patch on Shared.DC.Scripts.Signature (applied by SlapOS recipe) so that FuncCode() object is set to not only func_code but also __code__.
Showing
Please register or sign in to comment