[CMF-checkins] CVS: CMF - FSPythonScript.py:1.13
shane@digicool.com
shane@digicool.com
Wed, 13 Jun 2001 11:02:01 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv13194
Modified Files:
FSPythonScript.py
Log Message:
Corrected infinite loop.
--- Updated File FSPythonScript.py in package CMF --
--- FSPythonScript.py 2001/06/13 13:47:37 1.12
+++ FSPythonScript.py 2001/06/13 15:02:00 1.13
@@ -240,12 +240,13 @@
ps._makeFunction(1)
self._v_f = f = ps._v_f
if f is not None:
- fc = f.func_code
- self._setFuncSignature(f.func_defaults, fc.co_varnames,
- fc.co_argcount)
+ self.func_code = f.func_code
+ self.func_defaults = f.func_defaults
else:
# There were errors in the compile.
- self._setFuncSignature() # No signature.
+ # No signature.
+ self.func_code = None
+ self.func_defaults = None
self._body = ps._body
self._params = ps._params
self.title = ps.title