diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-08-03 23:40:13 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-08-03 23:40:13 +0000 |
commit | 81614988176cc79b74c2dc9dbc38cd56856a08e7 (patch) | |
tree | 65ce930c5c9206d05fe17d970110d114288d99ea | |
parent | 1f571c6e602e7dc35d18cede0f70d34fd38e21ae (diff) | |
download | cpython-git-81614988176cc79b74c2dc9dbc38cd56856a08e7.tar.gz |
Remove a dict.has_key() usage in email._parseaddr found while running -3.
-rw-r--r-- | Lib/email/_parseaddr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/_parseaddr.py b/Lib/email/_parseaddr.py index 791d8928eb..81913a3824 100644 --- a/Lib/email/_parseaddr.py +++ b/Lib/email/_parseaddr.py @@ -109,7 +109,7 @@ def parsedate_tz(data): return None tzoffset = None tz = tz.upper() - if _timezones.has_key(tz): + if tz in _timezones: tzoffset = _timezones[tz] else: try: |