Commit 89e731b0 authored by Shane Hathaway's avatar Shane Hathaway

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.
parent d05ff27d
......@@ -89,7 +89,7 @@ This product provides support for Script objects containing restricted
Python code.
"""
__version__='$Revision: 1.29 $'[11:-2]
__version__='$Revision: 1.30 $'[11:-2]
import sys, os, traceback, re, marshal
from Globals import DTMLFile, MessageDialog, package_home
......@@ -311,7 +311,7 @@ class PythonScript(Script, Historical, Cacheable):
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()
......
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