[CMF-checkins] CVS: CMF - FSPythonScript.py:1.9
tseaver@digicool.com
tseaver@digicool.com
Wed, 30 May 2001 12:52:33 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv12864
Modified Files:
FSPythonScript.py
Log Message:
- Open file in text mode, to Windows verstions with CR don't cause the
parser to choke (Tracker #284).
--- Updated File FSPythonScript.py in package CMF --
--- FSPythonScript.py 2001/05/02 15:48:19 1.8
+++ FSPythonScript.py 2001/05/30 16:52:32 1.9
@@ -140,7 +140,7 @@
data if necessary.
"""
fp = expandpath(self._filepath)
- file = open(fp, 'rb')
+ file = open(fp, 'r')
try: data = file.read()
finally: file.close()
self._write(data)