summaryrefslogtreecommitdiffstats
path: root/Mac/scripts/EditPythonPrefs.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2000-06-20 21:59:25 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2000-06-20 21:59:25 (GMT)
commitd13c3854629d605236c4d7cc8589a647b069207e (patch)
treede7c4a95117ecc763490fa17a6ef943873683ecd /Mac/scripts/EditPythonPrefs.py
parent3c0d013db40bd704908d7067228d35ed3f6b46c5 (diff)
downloadcpython-d13c3854629d605236c4d7cc8589a647b069207e.zip
cpython-d13c3854629d605236c4d7cc8589a647b069207e.tar.gz
cpython-d13c3854629d605236c4d7cc8589a647b069207e.tar.bz2
Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
Diffstat (limited to 'Mac/scripts/EditPythonPrefs.py')
-rw-r--r--Mac/scripts/EditPythonPrefs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/scripts/EditPythonPrefs.py b/Mac/scripts/EditPythonPrefs.py
index 44d89a6..d9f30f1 100644
--- a/Mac/scripts/EditPythonPrefs.py
+++ b/Mac/scripts/EditPythonPrefs.py
@@ -170,7 +170,7 @@ def edit_applet(name):
def main():
try:
- h = OpenResFile('EditPythonPrefs.rsrc')
+ h = FSpOpenResFile('EditPythonPrefs.rsrc', 1)
except Res.Error:
pass # Assume we already have acces to our own resource