Use "in" syntax instead of has_key()
authorMagnus Hagander <magnus@hagander.net>
Thu, 3 Jan 2019 10:01:56 +0000 (11:01 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 3 Jan 2019 10:01:56 +0000 (11:01 +0100)
commit46372add400ffa5295969aa2e4e8c468d4ada937
treed54ab386c13780b3a778294804f6af1a21d88626
parent98c6b19fae0c8d59d8752e5ee6cefd76e2d56c97
Use "in" syntax instead of has_key()

has_key() has been deprecated for a while and will be gone in Python3.
The in syntax is available in both the old and the new versions.
django/archives/auth.py
django/archives/mailarchives/api.py
django/archives/mailarchives/views.py
loader/lib/parser.py