summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/Wapplication.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:35:13 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-05-17 12:35:13 (GMT)
commitdfebe90c4c04a7a36e4542907118ddce97085868 (patch)
tree98f4b888c92d32b011a336ed914d381853585cac /Mac/Tools/IDE/Wapplication.py
parent716cf918390f86c69fb1525e13273570521da759 (diff)
downloadcpython-dfebe90c4c04a7a36e4542907118ddce97085868.zip
cpython-dfebe90c4c04a7a36e4542907118ddce97085868.tar.gz
cpython-dfebe90c4c04a7a36e4542907118ddce97085868.tar.bz2
Fixed macroman<->latin1 conversion. Some characters don't exist in latin1, but at least the roundtrip gives
the correct macroman characters again.
Diffstat (limited to 'Mac/Tools/IDE/Wapplication.py')
-rw-r--r--Mac/Tools/IDE/Wapplication.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py
index 88c415c..540fca0 100644
--- a/Mac/Tools/IDE/Wapplication.py
+++ b/Mac/Tools/IDE/Wapplication.py
@@ -344,18 +344,18 @@ class Application(FrameWork.Application):
# XXX and that's the last thing we want here.
f, filename, (suff, mode, dummy) = imp.find_module(modname)
except ImportError:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for –%s”" % modname
else:
if not f:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for –%s”" % modname
f.close()
if suff == '.py':
self.openscript(filename, lineno, charoffset)
return
else:
- raise W.AlertError, "Can¹t find file for ³%s²" % modname
+ raise W.AlertError, "CanÕt find file for –%s”" % modname
else:
- raise W.AlertError, "Can¹t find file Œ%s¹" % filename
+ raise W.AlertError, "CanÕt find file •%sÕ" % filename
if lineno is not None:
editor.selectline(lineno, charoffset)
return editor