summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/ModuleBrowser.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-06-19 21:37:33 (GMT)
committerJust van Rossum <just@letterror.com>2001-06-19 21:37:33 (GMT)
commitdc3c617cb884d9f12d55c2247f3e6b1b1f55aa36 (patch)
treed88d2e9f7f538b58275226944640554f4a46bee5 /Mac/Tools/IDE/ModuleBrowser.py
parent9020bcebc875463f1acec1b14949db35e1e68ad6 (diff)
downloadcpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.zip
cpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.tar.gz
cpython-dc3c617cb884d9f12d55c2247f3e6b1b1f55aa36.tar.bz2
Some long overdue maintainance. Made all IDE sources 7-bit-clean, to avoid any further encoding conversion troubles.
Diffstat (limited to 'Mac/Tools/IDE/ModuleBrowser.py')
-rw-r--r--Mac/Tools/IDE/ModuleBrowser.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Mac/Tools/IDE/ModuleBrowser.py b/Mac/Tools/IDE/ModuleBrowser.py
index 78581ec..f5b2b0a 100644
--- a/Mac/Tools/IDE/ModuleBrowser.py
+++ b/Mac/Tools/IDE/ModuleBrowser.py
@@ -14,9 +14,9 @@ class _modulebrowser:
#self.window.bevelbox = W.BevelBox((0, 0, 0, 56))
self.window.openbutton = W.Button((10, 8, 80, 16), "Open", self.openbuttonhit)
- self.window.browsebutton = W.Button((100, 8, 80, 16), "Browseƒ", self.browsebuttonhit)
+ self.window.browsebutton = W.Button((100, 8, 80, 16), "Browse\xc9", self.browsebuttonhit)
self.window.reloadbutton = W.Button((10, 32, 80, 16), "Reload", self.reloadbuttonhit)
- self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open otherƒ", self.openother)
+ self.window.openotherbutton = W.Button((100, 32, 80, 16), "Open other\xc9", self.openother)
self.window.openbutton.enable(0)
self.window.reloadbutton.enable(0)
@@ -81,7 +81,7 @@ class _modulebrowser:
file, path, description = imp.find_module(modname)
except ImportError:
W.SetCursor("arrow")
- W.Message("CanÕt find file for module –%s”."
+ W.Message("Can't find file for module '%s'."
% modname)
else:
self.openscript(path, modname)
@@ -93,7 +93,7 @@ class _modulebrowser:
elif path[-4:] in ['.pyc', '.pyo']:
W.getapplication().openscript(path[:-1], modname=modname)
else:
- W.Message("CanÕt edit –%s”; it might be a shared library or a .pyc file."
+ W.Message("Can't edit '%s'; it might be a shared library or a .pyc file."
% modname)
def openother(self):
@@ -106,9 +106,9 @@ class _modulebrowser:
file, path, description = imp.find_module(modname)
except ImportError:
if modname in sys.builtin_module_names:
- alerttext = "–%s” is a builtin module, which you canÕt edit." % modname
+ alerttext = "'%s' is a builtin module, which you can't edit." % modname
else:
- alerttext = "No module named –%s”." % modname
+ alerttext = "No module named '%s'." % modname
raise W.AlertError, alerttext
self.openscript(path, modname)