[Zope-Checkins] SVN: Zope/trunk/src/Products/PythonScripts/PythonScript.py - removed BBB code added in revision 23747
Yvo Schubbe
y.2009 at wcm-solutions.de
Mon Jul 27 08:17:37 EDT 2009
Log message for revision 102341:
- removed BBB code added in revision 23747
CMF trunk (2.2) no longer depends on it and older CMF versions don't run with Zope trunk
Changed:
U Zope/trunk/src/Products/PythonScripts/PythonScript.py
-=-
Modified: Zope/trunk/src/Products/PythonScripts/PythonScript.py
===================================================================
--- Zope/trunk/src/Products/PythonScripts/PythonScript.py 2009-07-27 11:21:52 UTC (rev 102340)
+++ Zope/trunk/src/Products/PythonScripts/PythonScript.py 2009-07-27 12:17:37 UTC (rev 102341)
@@ -231,7 +231,7 @@
self._compile()
self._v_change = 1
elif self._code is None:
- self._v_ft = self._v_f = None
+ self._v_ft = None
else:
self._newfun(marshal.loads(self._code))
@@ -248,7 +248,7 @@
self.warnings = tuple(r[2])
if errors:
self._code = None
- self._v_ft = self._v_f = None
+ self._v_ft = None
self._setFuncSignature((), (), 0)
# Fix up syntax errors.
filestring = ' File "<string>",'
@@ -284,11 +284,11 @@
l = {}
exec code in g, l
- self._v_f = f = l.values()[0]
+ f = l.values()[0]
self._v_ft = (f.func_code, g, f.func_defaults or ())
return f
- def _makeFunction(self, dummy=0): # CMFCore.FSPythonScript uses dummy arg.
+ def _makeFunction(self):
self.ZCacheable_invalidate()
self._compile()
if not (aq_parent(self) is None or hasattr(self, '_filepath')):
More information about the Zope-Checkins
mailing list