commit | d13c3854629d605236c4d7cc8589a647b069207e | [log] [tgz] |
---|---|---|
author | Jack Jansen <jack.jansen@cwi.nl> | Tue Jun 20 21:59:25 2000 +0000 |
committer | Jack Jansen <jack.jansen@cwi.nl> | Tue Jun 20 21:59:25 2000 +0000 |
tree | de7c4a95117ecc763490fa17a6ef943873683ecd | |
parent | 3c0d013db40bd704908d7067228d35ed3f6b46c5 [diff] [blame] |
Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible).
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 main(): try: - h = OpenResFile('EditPythonPrefs.rsrc') + h = FSpOpenResFile('EditPythonPrefs.rsrc', 1) except Res.Error: pass # Assume we already have acces to our own resource