Skip to content

Commit

Permalink
Changed the signature of _makeFunction() so that CMFCore.FSPythonScri…
Browse files Browse the repository at this point in the history
…pt doesn't

have to try to figure out how to call _makeFunction().  In Zope 2.3.x
_makeFunction() had a parameter.
  • Loading branch information
hathawsh committed Jun 11, 2001
1 parent 74e64d1 commit 7e02bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PythonScript.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
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
Expand Down Expand Up @@ -311,7 +311,7 @@ def _newfun(self, code):
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()

Expand Down

0 comments on commit 7e02bc7

Please sign in to comment.