Update of /cvsroot/pycrust/PyCrust
In directory sc8-pr-cvs1:/tmp/cvs-serv2178
Modified Files:
document.py
Log Message:
Read and write in binary and let wxSTC worry about line endings.
Index: document.py
===================================================================
RCS file: /cvsroot/pycrust/PyCrust/document.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** document.py 3 Apr 2003 02:34:48 -0000 1.1
--- document.py 5 Apr 2003 20:20:55 -0000 1.2
***************
*** 40,44 ****
"""Write text to file."""
try:
! f = file(self.filepath, 'w')
f.write(text)
finally:
--- 40,44 ----
"""Write text to file."""
try:
! f = file(self.filepath, 'wb')
f.write(text)
finally:
|