commit | a398e2d0592464b6594bac0e4ee3ef091cce5159 | [log] [tgz] |
---|---|---|
author | Matthias Klose <doko@ubuntu.com> | Thu Jan 11 11:44:04 2007 +0000 |
committer | Matthias Klose <doko@ubuntu.com> | Thu Jan 11 11:44:04 2007 +0000 |
tree | 2611032c4fbf95ed307ea298aea89a692ae7c6eb | |
parent | 764a7ec8ca6e536f5c9783aceb38a05a725b1458 [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 b69f06d..35771ef 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