From: Jack Jansen Date: Mon, 20 Feb 1995 15:49:27 +0000 (+0000) Subject: Always set type to APPL X-Git-Tag: v1.2b4~193 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77b5828cf0220e8f366daf16df987c101a383da1;p=thirdparty%2FPython%2Fcpython.git Always set type to APPL --- diff --git a/Mac/mkapplet.py b/Mac/mkapplet.py index b8591aa5d1a7..a99effa0927a 100644 --- a/Mac/mkapplet.py +++ b/Mac/mkapplet.py @@ -99,12 +99,11 @@ def process(template, filename): dest.close() tmpl.close() - # Copy the creator and type of the template to the destination - # unless it already has one - + # Copy the creator of the template to the destination + # unless it already has one. Set type to APPL tctor, ttype = MacOS.GetCreatorAndType(template) ctor, type = MacOS.GetCreatorAndType(destname) - if type in undefs: type = ttype + if type in undefs: type = 'APPL' if ctor in undefs: ctor = tctor MacOS.SetCreatorAndType(destname, ctor, type)