summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2015-11-18 15:14:57 -0800
committerCraig Rodrigues <rodrigc@FreeBSD.org>2015-11-18 15:14:57 -0800
commit18d9ffea4222dadf2fa61171ec8fdc19f94a1880 (patch)
tree2f6cbf914917a5001489c8c59653d842730f03a4 /contrib
parentd0a05f8fc075ce00768c75388955c45a9d69a9bd (diff)
downloadm2crypto-18d9ffea4222dadf2fa61171ec8fdc19f94a1880.tar.gz
Use 'in' instead of 'has_key()' for testing dictionary membership.
In PEP 0290, has_key() was deprecated in Python 2.2 and higher: https://www.python.org/dev/peps/pep-0290/#testing-dictionary-membership https://docs.python.org/2.2/whatsnew/node4.html In Python 3, dict.has_key() was removed: https://docs.python.org/3.0/whatsnew/3.0.html#builtins
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions