[Wisp-cvs] wisp/users/dig tran.py,1.122,1.123
Status: Alpha
Brought to you by:
digg
|
From: <di...@us...> - 2003-05-21 11:34:29
|
Update of /cvsroot/wisp/wisp/users/dig
In directory sc8-pr-cvs1:/tmp/cvs-serv27396
Modified Files:
tran.py
Log Message:
generate the output in explicit binary mode for Microsoft's merryment
Index: tran.py
===================================================================
RCS file: /cvsroot/wisp/wisp/users/dig/tran.py,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -d -r1.122 -r1.123
--- tran.py 21 May 2003 10:44:55 -0000 1.122
+++ tran.py 21 May 2003 11:34:26 -0000 1.123
@@ -419,7 +419,7 @@
elif format == 'com':
binary = apply(com.make_com_executable, [], argum)
else: raise 'unknown output format', format
- f = open(output_name, 'w')
+ f = open(output_name, 'wb')
binary.get_file().tofile(f)
f.close()
|