Author: kurt.kaiser
Date: Mon Oct 15 04:40:08 2007
New Revision: 58465
Modified:
python/branches/py3k/Lib/idlelib/IOBinding.py
Log:
Finish bug fix applied at 58398. I missed a piece, Tal Einat found the error.
Modified: python/branches/py3k/Lib/idlelib/IOBinding.py
==============================================================================
--- python/branches/py3k/Lib/idlelib/IOBinding.py (original)
+++ python/branches/py3k/Lib/idlelib/IOBinding.py Mon Oct 15 04:40:08 2007
@@ -392,7 +392,7 @@
text = self.text.get("1.0", "end-1c")
if self.eol_convention != "\n":
text = text.replace("\n", self.eol_convention)
- chars = self.encode(self.text.get("1.0", "end-1c"))
+ chars = self.encode(text)
try:
f = open(filename, "wb")
f.write(chars)
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins