[Zope-Checkins] CVS: Zope2 - PythonScript.py:1.33.2.1
shane@digicool.com
shane@digicool.com
Mon, 2 Jul 2001 14:13:42 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/Products/PythonScripts
In directory korak.digicool.com:/tmp/cvs-serv31121
Modified Files:
Tag: Zope-2_4-branch
PythonScript.py
Log Message:
Collector #2334. Scripts that ended with indentation failed to compile.
--- Updated File PythonScript.py in package Zope2 --
--- PythonScript.py 2001/06/21 17:45:13 1.33
+++ PythonScript.py 2001/07/02 18:13:41 1.33.2.1
@@ -461,6 +461,8 @@
bup = 1
body = body.rstrip()
+ if body:
+ body = body + '\n'
if body != self._body:
self._body = body
if bup: