summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Lib/idlelib/EditorWindow.py2
-rw-r--r--Misc/NEWS2
2 files changed, 3 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index b69f06dc64..35771efaf5 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -819,7 +819,7 @@ class EditorWindow(object):
def close(self):
reply = self.maybesave()
- if reply != "cancel":
+ if str(reply) != "cancel":
self._close()
return reply
diff --git a/Misc/NEWS b/Misc/NEWS
index 564e3b1192..e671c72ef6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -286,6 +286,8 @@ Library
- 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
-----------------