commit | a2bc259dd71d53f643db13ac5077fafe9d5bacae | [log] [tgz] |
---|---|---|
author | Steven M. Gava <elguavas@python.net> | Mon Apr 22 00:42:42 2002 +0000 |
committer | Steven M. Gava <elguavas@python.net> | Mon Apr 22 00:42:42 2002 +0000 |
tree | 81907ddb6ca0c8b11ba6571bfbfea285f00b7f1c | |
parent | 1c6192662da753cfefc12f05c6e2886ceb79fb72 [diff] [blame] |
tracking python idle changes: Provisional fix for writefile() [SF bug # 541730]
diff --git a/Lib/idlelib/IOBinding.py b/Lib/idlelib/IOBinding.py index 17c196d..729f29b 100644 --- a/Lib/idlelib/IOBinding.py +++ b/Lib/idlelib/IOBinding.py
@@ -178,7 +178,7 @@ self.fixlastline() try: f = open(filename, "w") - chars = self.text.get("1.0", "end-1c") + chars = str(self.text.get("1.0", "end-1c")) f.write(chars) f.close() ## print "saved to", `filename`