def getBundleInfo(path):
    infopath = os.path.join(path, "Contents", "Info.plist")
    if not os.path.exists(infopath):
        infopath = os.path.join(path, "Resources", "Info.plist")

    if os.path.exists(infopath):
        try:
            plist = FoundationPlist.readPlist(infopath)
            return plist
        except FoundationPlist.NSPropertyListSerializationException:
            pass

    return None
Returns Info.plist data if available
dataset/ETHPy150Open munki/munki/code/client/munkilib/adobeutils.py/getBundleInfo