mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
This commit is contained in:
parent
5f516edd77
commit
a3a505076e
15 changed files with 118 additions and 118 deletions
|
@ -489,7 +489,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