diff options
| author | Matthias Klose <doko@ubuntu.com> | 2007-01-11 11:44:04 (GMT) | 
|---|---|---|
| committer | Matthias Klose <doko@ubuntu.com> | 2007-01-11 11:44:04 (GMT) | 
| commit | a398e2d0592464b6594bac0e4ee3ef091cce5159 (patch) | |
| tree | 2611032c4fbf95ed307ea298aea89a692ae7c6eb /Lib/idlelib/EditorWindow.py | |
| parent | 764a7ec8ca6e536f5c9783aceb38a05a725b1458 (diff) | |
| download | cpython-a398e2d0592464b6594bac0e4ee3ef091cce5159.zip cpython-a398e2d0592464b6594bac0e4ee3ef091cce5159.tar.gz cpython-a398e2d0592464b6594bac0e4ee3ef091cce5159.tar.bz2  | |
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
| -rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 | 
1 files changed, 1 insertions, 1 deletions
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 @@ class EditorWindow(object):      def close(self):          reply = self.maybesave() -        if reply != "cancel": +        if str(reply) != "cancel":              self._close()          return reply  | 
