Stomp out more hsa_key() calls.

This commit is contained in:
Guido van Rossum 2006-08-19 15:28:37 +00:00
parent 1b01e5c706
commit 49061f7b8f
7 changed files with 25 additions and 25 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: