[Python-checkins] r65051 - sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py

guilherme.polo python-checkins at python.org
Thu Jul 17 03:25:41 CEST 2008


Author: guilherme.polo
Date: Thu Jul 17 03:25:40 2008
New Revision: 65051

Log:
Added section EditorPage

Modified:
   sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py

Modified: sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py
==============================================================================
--- sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py	(original)
+++ sandbox/trunk/ttk-gsoc/src/idlelib/IOBinding.py	Thu Jul 17 03:25:40 2008
@@ -432,8 +432,7 @@
                 return BOM_UTF8 + chars.encode("utf-8")
         # Nothing was declared, and we had not determined an encoding
         # on loading. Recommend an encoding line.
-        config_encoding = idleConf.GetOption("main","EditorWindow",
-                                             "encoding")
+        config_encoding = idleConf.GetOption("main", "EditorPage", "encoding")
         if config_encoding == 'utf-8':
             # User has requested that we save files as UTF-8
             return BOM_UTF8 + chars.encode("utf-8")


More information about the Python-checkins mailing list