commit | a3a505076efc19ec23669370778c5fa22d030ffa | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 03 18:17:54 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sat Apr 03 18:17:54 2010 +0000 |
tree | 4d91e9339c5d09bb17147162538fe1835e47e432 | |
parent | 5f516edd77d00cae24d287285e455833d44097a7 [diff] [blame] |
Silence DeprecationWarnings from uses of has_key and <> in plat-mac.
diff --git a/Lib/plat-mac/aepack.py b/Lib/plat-mac/aepack.py index 6021283..bb2a37f 100644 --- a/Lib/plat-mac/aepack.py +++ b/Lib/plat-mac/aepack.py
@@ -132,7 +132,7 @@ """Unpack an AE descriptor to a python object""" t = desc.type - if unpacker_coercions.has_key(t): + if t in unpacker_coercions: desc = desc.AECoerceDesc(unpacker_coercions[t]) t = desc.type # This is a guess by Jack....