Remove a dict.has_key() usage in email._parseaddr found while running -3.

This commit is contained in:
Brett Cannon 2008-08-03 23:40:13 +00:00
parent 1f571c6e60
commit 8161498817
1 changed files with 1 additions and 1 deletions

View File

@ -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: