diff options
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
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 @@ -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 ----------------- |