diff options
Diffstat (limited to 'Lib/plat-mac/bundlebuilder.py')
-rwxr-xr-x | Lib/plat-mac/bundlebuilder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py index 266b8455a0..d21fc3e5bc 100755 --- a/Lib/plat-mac/bundlebuilder.py +++ b/Lib/plat-mac/bundlebuilder.py @@ -481,7 +481,7 @@ class AppBuilder(BundleBuilder): if self.standalone or self.semi_standalone: self.includeModules.append("argvemulator") self.includeModules.append("os") - if not self.plist.has_key("CFBundleDocumentTypes"): + if "CFBundleDocumentTypes" not in self.plist: self.plist["CFBundleDocumentTypes"] = [ { "CFBundleTypeOSTypes" : [ "****", |