diff options
author | Just van Rossum <just@lettererror.com> | 1999-02-26 21:19:50 (GMT) |
---|---|---|
committer | Just van Rossum <just@lettererror.com> | 1999-02-26 21:19:50 (GMT) |
commit | 96b64d0675c3d54d510f45de652328afeb4ee6a3 (patch) | |
tree | 556faba4557511173fada9e90cd7015a6d538675 /Mac/Tools/IDE | |
parent | 43b34da656ffc62914a7e545c5bffc956827adee (diff) | |
download | cpython-96b64d0675c3d54d510f45de652328afeb4ee6a3.zip cpython-96b64d0675c3d54d510f45de652328afeb4ee6a3.tar.gz cpython-96b64d0675c3d54d510f45de652328afeb4ee6a3.tar.bz2 |
open res file(s) read only; upped __version__ -- jvr
Diffstat (limited to 'Mac/Tools/IDE')
-rw-r--r-- | Mac/Tools/IDE/PythonIDE.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mac/Tools/IDE/PythonIDE.py b/Mac/Tools/IDE/PythonIDE.py index 7f4fa49..abb7802 100644 --- a/Mac/Tools/IDE/PythonIDE.py +++ b/Mac/Tools/IDE/PythonIDE.py @@ -3,7 +3,7 @@ # keep this (__main__) as clean as possible, since we are using # it like the "normal" interpreter. -__version__ = '1.0b2' +__version__ = '1.0b3' def init(): @@ -18,15 +18,15 @@ def init(): Res.GetResource('DITL', 468) except Res.Error: # we're not an applet - Res.OpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:PythonIDE.rsrc")) - Res.OpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:Widgets.rsrc")) + Res.FSpOpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:PythonIDE.rsrc"), 1) + Res.FSpOpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:Widgets.rsrc"), 1) ide_path = os.path.join(sys.exec_prefix, ":Mac:Tools:IDE") else: # we're an applet try: Res.GetResource('CURS', 468) except Res.Error: - Res.OpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:Widgets.rsrc")) + Res.FSpOpenResFile(os.path.join(sys.exec_prefix, ":Mac:Tools:IDE:Widgets.rsrc"), 1) ide_path = os.path.join(sys.exec_prefix, ":Mac:Tools:IDE") else: # we're a full blown applet |