diff options
author | Matthias Klose <doko@ubuntu.com> | 2007-01-11 11:40:28 (GMT) |
---|---|---|
committer | Matthias Klose <doko@ubuntu.com> | 2007-01-11 11:40:28 (GMT) |
commit | 1223a402af5de8c8bae629a8b01c66d87396d591 (patch) | |
tree | 5ea63e9cabbd89135d265ea66db8cc207300ab8c | |
parent | dbc68267e8194b47feaea72427ebdee6f830f105 (diff) | |
download | cpython-1223a402af5de8c8bae629a8b01c66d87396d591.zip cpython-1223a402af5de8c8bae629a8b01c66d87396d591.tar.gz cpython-1223a402af5de8c8bae629a8b01c66d87396d591.tar.bz2 |
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
-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 0ab148a..4883f2d 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -703,7 +703,7 @@ class EditorWindow: def close(self): reply = self.maybesave() - if reply != "cancel": + if str(reply) != "cancel": self._close() return reply @@ -24,6 +24,8 @@ Extension Modules Library ------- +- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092). + Tests ----- |