[CMF-checkins] CVS: CMF/CMFCore - FSDTMLMethod.py:1.9.36.3 FSPageTemplate.py:1.8.8.8 FSPropertiesObject.py:1.8.16.5 FSZSQLMethod.py:1.2.36.4

Tres Seaver tseaver at zope.com
Mon Sep 1 13:09:23 EDT 2003


Update of /cvs-repository/CMF/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv13279/CMFCore

Modified Files:
      Tag: CMF-1_3-branch
	FSDTMLMethod.py FSPageTemplate.py FSPropertiesObject.py 
	FSZSQLMethod.py 
Log Message:
 - Backport fix for collector #185 from head.

=== CMF/CMFCore/FSDTMLMethod.py 1.9.36.2 => 1.9.36.3 ===
--- CMF/CMFCore/FSDTMLMethod.py:1.9.36.2	Fri Aug 16 09:47:05 2002
+++ CMF/CMFCore/FSDTMLMethod.py	Mon Sep  1 12:09:22 2003
@@ -68,7 +68,7 @@
 
     def _readFile(self, reparse):
         fp = expandpath(self._filepath)
-        file = open(fp, 'rb')
+        file = open(fp, 'r')    # not 'rb', as this is a text file!
         try:
             data = file.read()
         finally:


=== CMF/CMFCore/FSPageTemplate.py 1.8.8.7 => 1.8.8.8 ===
--- CMF/CMFCore/FSPageTemplate.py:1.8.8.7	Mon Aug  4 16:06:54 2003
+++ CMF/CMFCore/FSPageTemplate.py	Mon Sep  1 12:09:22 2003
@@ -74,7 +74,7 @@
 
     def _readFile(self, reparse):
         fp = expandpath(self._filepath)
-        file = open(fp, 'rb')
+        file = open(fp, 'r')    # not 'rb', as this is a text file!
         try: 
             data = file.read()
         finally: 


=== CMF/CMFCore/FSPropertiesObject.py 1.8.16.4 => 1.8.16.5 ===
--- CMF/CMFCore/FSPropertiesObject.py:1.8.16.4	Thu Aug  1 15:07:55 2002
+++ CMF/CMFCore/FSPropertiesObject.py	Mon Sep  1 12:09:22 2003
@@ -92,7 +92,7 @@
 
         fp = expandpath(self._filepath)
 
-        file = open(fp, 'rb')
+        file = open(fp, 'r')    # not 'rb', as this is a text file!
         try:
             lines = file.readlines()
         finally:


=== CMF/CMFCore/FSZSQLMethod.py 1.2.36.3 => 1.2.36.4 ===
--- CMF/CMFCore/FSZSQLMethod.py:1.2.36.3	Wed Aug 21 11:17:07 2002
+++ CMF/CMFCore/FSZSQLMethod.py	Mon Sep  1 12:09:22 2003
@@ -72,7 +72,7 @@
 
     def _readFile(self, reparse):
         fp = expandpath(self._filepath)
-        file = open(fp, 'rb')
+        file = open(fp, 'r')    # not 'rb', as this is a text file!
         try:
             data = file.read()
         finally: file.close()




More information about the CMF-checkins mailing list