]> granicus.if.org Git - python/commitdiff
make sure Info.plist has a CFBundleIdentifier entry
authorJust van Rossum <just@letterror.com>
Mon, 13 Jan 2003 23:30:04 +0000 (23:30 +0000)
committerJust van Rossum <just@letterror.com>
Mon, 13 Jan 2003 23:30:04 +0000 (23:30 +0000)
Lib/plat-mac/bundlebuilder.py

index 749d85104b9308adda53745f259f373e56597f8b..45642bda1f742fc3b705020b3ccf8d098a541d59 100755 (executable)
@@ -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."""