ooo-build r11388 - in trunk: . scratch/sc-xlsutil



Author: tml
Date: Wed Jan 23 21:11:55 2008
New Revision: 11388
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11388&view=rev

Log:
2008-01-23  Tor Lillqvist  <tml novell com>

	* scratch/sc-xlsutil/xls_dump.py: Open file in binary mode, so it
	works better on Windows.



Modified:
   trunk/ChangeLog
   trunk/scratch/sc-xlsutil/xls_dump.py

Modified: trunk/scratch/sc-xlsutil/xls_dump.py
==============================================================================
--- trunk/scratch/sc-xlsutil/xls_dump.py	(original)
+++ trunk/scratch/sc-xlsutil/xls_dump.py	Wed Jan 23 21:11:55 2008
@@ -10,7 +10,7 @@
         self.filepath = filepath
 
     def dump (self):
-        file = open(self.filepath, 'r')
+        file = open(self.filepath, 'rb')
         strm = stream.XLStream(file.read())
         file.close()
         strm.printStreamInfo()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]