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

matthias.klose python-checkins at python.org
Thu Jan 11 12:40:31 CET 2007


Author: matthias.klose
Date: Thu Jan 11 12:40:28 2007
New Revision: 53373

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


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

Modified: python/branches/release24-maint/Misc/NEWS
==============================================================================
--- python/branches/release24-maint/Misc/NEWS	(original)
+++ python/branches/release24-maint/Misc/NEWS	Thu Jan 11 12:40:28 2007
@@ -24,6 +24,8 @@
 Library
 -------
 
+- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
+
 Tests
 -----
 


More information about the Python-checkins mailing list