[Python-checkins] r53375 - in python/trunk: Lib/idlelib/EditorWindow.py Misc/NEWS

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


Author: matthias.klose
Date: Thu Jan 11 12:44:04 2007
New Revision: 53375
Modified:
 python/trunk/Lib/idlelib/EditorWindow.py
 python/trunk/Misc/NEWS
Log:
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Modified: python/trunk/Lib/idlelib/EditorWindow.py
==============================================================================
--- python/trunk/Lib/idlelib/EditorWindow.py	(original)
+++ python/trunk/Lib/idlelib/EditorWindow.py	Thu Jan 11 12:44:04 2007
@@ -819,7 +819,7 @@
 
 def close(self):
 reply = self.maybesave()
- if reply != "cancel":
+ if str(reply) != "cancel":
 self._close()
 return reply
 
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Thu Jan 11 12:44:04 2007
@@ -286,6 +286,8 @@
 - fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
 were transposed.
 
+- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
+
 
 Extension Modules
 -----------------


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /