[Python-checkins] python/dist/src/Lib _strptime.py,1.18,1.19

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Sat, 28 Jun 2003 21:16:51 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv5562

Modified Files:
	_strptime.py 
Log Message:
use == like all the other conditionals

Index: _strptime.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/_strptime.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** _strptime.py	13 May 2003 20:28:15 -0000	1.18
--- _strptime.py	29 Jun 2003 04:16:49 -0000	1.19
***************
*** 462,466 ****
          elif group_key == 'd':
              day = int(found_dict['d'])
!         elif group_key is 'H':
              hour = int(found_dict['H'])
          elif group_key == 'I':
--- 462,466 ----
          elif group_key == 'd':
              day = int(found_dict['d'])
!         elif group_key == 'H':
              hour = int(found_dict['H'])
          elif group_key == 'I':