summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/bundlebuilder.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-04-03 18:17:54 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-04-03 18:17:54 (GMT)
commita3a505076efc19ec23669370778c5fa22d030ffa (patch)
tree4d91e9339c5d09bb17147162538fe1835e47e432 /Lib/plat-mac/bundlebuilder.py
parent5f516edd77d00cae24d287285e455833d44097a7 (diff)
downloadcpython-a3a505076efc19ec23669370778c5fa22d030ffa.zip
cpython-a3a505076efc19ec23669370778c5fa22d030ffa.tar.gz
cpython-a3a505076efc19ec23669370778c5fa22d030ffa.tar.bz2
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
Diffstat (limited to 'Lib/plat-mac/bundlebuilder.py')
-rwxr-xr-xLib/plat-mac/bundlebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/bundlebuilder.py b/Lib/plat-mac/bundlebuilder.py
index d13403c..ce7ce45 100755
--- a/Lib/plat-mac/bundlebuilder.py
+++ b/Lib/plat-mac/bundlebuilder.py
@@ -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" : [
"****",