commit | 9e031c7c9dac1b087a38dbc3555bbbe56a8097fb | [log] [tgz] |
---|---|---|
author | Matthias Klose <doko@ubuntu.com> | Thu Jan 11 11:42:43 2007 +0000 |
committer | Matthias Klose <doko@ubuntu.com> | Thu Jan 11 11:42:43 2007 +0000 |
tree | 3651d551c8362148f0f9448bda1007dbdb8fb54e | |
parent | 1c3d0de47264e6bdfa296067294b7c66592f5a2f [diff] [blame] |
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index 6b8ab63..259c7f3 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py
@@ -819,7 +819,7 @@ def close(self): reply = self.maybesave() - if reply != "cancel": + if str(reply) != "cancel": self._close() return reply