mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Get rid of a bunch more has_key() uses. We *really* need a tool for this.
test_aepack now passes. IDLE still needs to be converted (among others).
This commit is contained in:
parent
0da7e03e12
commit
f1a69c1666
16 changed files with 109 additions and 112 deletions
|
@ -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" : [
|
||||
"****",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue