From 9f59d528c5a9bfbcc93fdf8bd42d8738105b675c Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 18 Feb 2003 23:30:27 +0000 Subject: Enable argv emulation if required. Fixed a bug for applets with their own plist files. --- Lib/plat-mac/buildtools.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Lib/plat-mac/buildtools.py b/Lib/plat-mac/buildtools.py index 89d4510..c6430b0 100644 --- a/Lib/plat-mac/buildtools.py +++ b/Lib/plat-mac/buildtools.py @@ -303,10 +303,12 @@ def process_common_macho(template, progress, code, rsrcname, destname, is_update for o in others: builder.resources.append(o) if plistname: - import Plist - builder.plist = Plist.fromFile(plistname) + import plistlib + builder.plist = plistlib.Plist.fromFile(plistname) if icnsname: builder.iconfile = icnsname + if not raw: + builder.argv_emulation = 1 builder.setup() builder.build() if progress: -- cgit v0.12