use == like all the other conditionals

This commit is contained in:
Neal Norwitz 2003-06-29 04:16:49 +00:00
parent 732911fd1e
commit 77290f25f3
1 changed files with 1 additions and 1 deletions

View File

@ -461,7 +461,7 @@ def strptime(data_string, format="%a %b %d %H:%M:%S %Y"):
month = _insensitiveindex(locale_time.a_month, found_dict['b'])
elif group_key == 'd':
day = int(found_dict['d'])
elif group_key is 'H':
elif group_key == 'H':
hour = int(found_dict['H'])
elif group_key == 'I':
hour = int(found_dict['I'])