diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1998-01-06 12:11:48 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1998-01-06 12:11:48 (GMT) |
commit | e86d2870c45d76b5550c2debfca808bfd557edb9 (patch) | |
tree | 2141defbbb8ce48b547c5466d9b25b6dbbd3273a /Mac | |
parent | a23a4621a06f632e9da7e72979fa15a00783a6bc (diff) | |
download | cpython-e86d2870c45d76b5550c2debfca808bfd557edb9.zip cpython-e86d2870c45d76b5550c2debfca808bfd557edb9.tar.gz cpython-e86d2870c45d76b5550c2debfca808bfd557edb9.tar.bz2 |
Loading defaults for gusi/sys.path didn't work for applets. Fixed.
Diffstat (limited to 'Mac')
-rw-r--r-- | Mac/Lib/pythonprefs.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mac/Lib/pythonprefs.py b/Mac/Lib/pythonprefs.py index e3a7b23..3bf8952 100644 --- a/Mac/Lib/pythonprefs.py +++ b/Mac/Lib/pythonprefs.py @@ -108,8 +108,10 @@ def AppletOptions(file): fss = macfs.FSSpec(file) a_popt = PoptLoader(ResLoader(fss, 'Popt', OVERRIDE_POPT_ID, default=popt_loader)) a_dir = ResLoader(fss, 'alis', OVERRIDE_DIR_ID, default=dir) - a_gusi = ResLoader(fss, 'GU\267I', OVERRIDE_GUSI_ID, default=gusi_loader) - a_path = StrListLoader(fss, 'STR#', OVERRIDE_PATH_ID, default=path_loader) + a_gusi = GusiLoader( + ResLoader(fss, 'GU\267I', OVERRIDE_GUSI_ID, default=gusi_loader)) + a_path = StrListLoader( + ResLoader(fss, 'STR#', OVERRIDE_PATH_ID, default=path_loader)) return PythonOptions(a_popt, a_dir, a_gusi, a_path) def _test(): |