[Zope-CVS] CVS: Products/ExternalEditor - CHANGES.txt:1.18 zopeedit.py:1.29

Casey Duncan casey@zope.com
Wed, 26 Jun 2002 13:21:28 -0400


Update of /cvs-repository/Products/ExternalEditor
In directory cvs.zope.org:/tmp/cvs-serv8670

Modified Files:
	CHANGES.txt zopeedit.py 
Log Message:
Fixed binary file editing for Windows


=== Products/ExternalEditor/CHANGES.txt 1.17 => 1.18 ===
 
+    - Fixed bug with editing binary data on Windows. Thanks to Eric Kamm.
+
     - Fixed bug setting the editor on Posix platforms.
 
   6/24/02 - 0.4 Release


=== Products/ExternalEditor/zopeedit.py 1.28 => 1.29 ===
 
             # Open the input file and read the metadata headers
-            in_f = open(input_file)
+            in_f = open(input_file, 'rb')
             metadata = {}
 
             while 1: