[Python-checkins] r53374 - in python/branches/release25-maint: Lib/idlelib/EditorWindow.py Misc/NEWS

matthias.klose python-checkins at python.org
Thu Jan 11 12:42:44 CET 2007


Author: matthias.klose
Date: Thu Jan 11 12:42:43 2007
New Revision: 53374

Modified:
   python/branches/release25-maint/Lib/idlelib/EditorWindow.py
   python/branches/release25-maint/Misc/NEWS
Log:
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).


Modified: python/branches/release25-maint/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/branches/release25-maint/Lib/idlelib/EditorWindow.py	(original)
+++ python/branches/release25-maint/Lib/idlelib/EditorWindow.py	Thu Jan 11 12:42:43 2007
@@ -819,7 +819,7 @@
 
     def close(self):
         reply = self.maybesave()
-        if reply != "cancel":
+        if str(reply) != "cancel":
             self._close()
         return reply
 

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Thu Jan 11 12:42:43 2007
@@ -248,6 +248,8 @@
 
 - Patch #1552024: add decorator support to unparse.py demo script.
 
+- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
+
 
 Tests
 -----


More information about the Python-checkins mailing list