From 9896ea24f9dd0ad895f2095b5680fafc901fea6f Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Mon, 13 Jan 2003 23:30:04 +0000 Subject: make sure Info.plist has a CFBundleIdentifier entry --- Lib/plat-mac/bundlebuilder.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 749d851..45642bd 100755 --- a/Lib/plat-mac/bundlebuilder.py +++ b/Lib/plat-mac/bundlebuilder.py @@ -127,6 +127,8 @@ class BundleBuilder(Defaults): else: self.creator = "????" plist.CFBundleSignature = self.creator + if not hasattr(plist, "CFBundleIdentifier"): + plist.CFBundleIdentifier = self.name def build(self): """Build the bundle.""" -- cgit v0.12