[Python-checkins] python/dist/src/Lib locale.py,1.27,1.28
loewis at users.sourceforge.net
loewis at users.sourceforge.net
Mon Jul 26 14:45:21 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29940/Lib
Modified Files:
locale.py
Log Message:
Patch #962487: Don't crash for empty locale names.
Index: locale.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/locale.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** locale.py 10 Apr 2004 16:39:32 -0000 1.27
--- locale.py 26 Jul 2004 12:45:18 -0000 1.28
***************
*** 338,342 ****
for variable in envvars:
localename = lookup(variable,None)
! if localename is not None:
break
else:
--- 338,342 ----
for variable in envvars:
localename = lookup(variable,None)
! if localename:
break
else:
More information about the Python-checkins
mailing list