zope2/ScriptDebugging

changeset 9:a66c5e65ea3d

A missing import gave an incorrect error message when the script has a bad syntax.
author lregebro
date Tue, 28 Sep 2004 11:59:15 +0000
parents 984b97347561
children a33284e83d4d
files __init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/__init__.py
     1.2 +++ b/__init__.py
     1.3 @@ -19,7 +19,7 @@
     1.4  
     1.5  from Shared.DC.Scripts.Script import defaultBindings
     1.6  
     1.7 -from Products.CMFCore.FSPythonScript import FSPythonScript
     1.8 +from Products.CMFCore.FSPythonScript import FSPythonScript, bad_func_code
     1.9  from Products.PythonScripts.PythonScript import PythonScript, Python_magic, \
    1.10      Script_magic, _nonempty_line, _first_indent
    1.11  from Products.CMFCore.DirectoryView import expandpath