diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 18:17:54 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2010-04-03 18:17:54 (GMT) |
| commit | a3a505076efc19ec23669370778c5fa22d030ffa (patch) | |
| tree | 4d91e9339c5d09bb17147162538fe1835e47e432 /Lib/plat-mac/bundlebuilder.py | |
| parent | 5f516edd77d00cae24d287285e455833d44097a7 (diff) | |
| download | cpython-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-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 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" : [ "****", |
