mirror of
https://github.com/python/cpython.git
synced 2024-12-02 14:24:12 +08:00
Loading defaults for gusi/sys.path didn't work for applets. Fixed.
This commit is contained in:
parent
a23a4621a0
commit
e86d2870c4
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user