def getAppBundleID(path):
    infopath = os.path.join(path, 'Contents', 'Info.plist')
    if os.path.exists(infopath):
        try:
            plist = FoundationPlist.readPlist(infopath)
            if 'CFBundleIdentifier' in plist:
                return plist['CFBundleIdentifier']
        except (AttributeError,
                FoundationPlist.NSPropertyListSerializationException):
            pass

    return None
Reinstate real phone number timezone metadata
dataset/ETHPy150Open munki/munki/code/client/munkilib/updatecheck.py/getAppBundleID--crossover with--dataset/ETHPy150Open daviddrysdale/python-phonenumbers/python/tests/timezonetest.py/reinstate_real_tzdata