def get_info(self, k=None):
"""
Get the value for a key in the an app's base project info.plist
"""
info = None
with open(self.info, 'rb') as f:
info = plistlib.load(f)
if k:
return info.get(k)
else:
return info
文章目录