[Zope-Checkins] CVS: Zope2 - PythonScript.py:1.30
shane@digicool.com
shane@digicool.com
Mon, 11 Jun 2001 10:42:49 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts
In directory korak.digicool.com:/tmp/cvs-serv28536
Modified Files:
PythonScript.py
Log Message:
Changed the signature of _makeFunction() so that CMFCore.FSPythonScript doesn't
have to try to figure out how to call _makeFunction(). In Zope 2.3.x
_makeFunction() had a parameter.
--- Updated File PythonScript.py in package Zope2 --
--- PythonScript.py 2001/06/07 22:18:44 1.29
+++ PythonScript.py 2001/06/11 14:42:48 1.30
@@ -311,7 +311,7 @@
self._v_f = f = l.values()[0]
return f
- def _makeFunction(self):
+ def _makeFunction(self, dummy=0): # CMFCore.FSPythonScript uses dummy arg.
self.ZCacheable_invalidate()
self._compile()