[Python-checkins] CVS: python/dist/src/Lib fnmatch.py,1.8,1.8.2.1

Moshe Zadka moshez@users.sourceforge.net
Fri, 30 Mar 2001 07:37:34 -0800


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

Modified Files:
      Tag: release20-maint
	fnmatch.py 
Log Message:
Fixing #409651 -- \ in a character group


Index: fnmatch.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/fnmatch.py,v
retrieving revision 1.8
retrieving revision 1.8.2.1
diff -C2 -r1.8 -r1.8.2.1
*** fnmatch.py	2000/06/28 14:48:01	1.8
--- fnmatch.py	2001/03/30 15:37:31	1.8.2.1
***************
*** 74,78 ****
  				res = res + '\\['
  			else:
! 				stuff = pat[i:j]
  				i = j+1
  				if stuff[0] == '!':
--- 74,78 ----
  				res = res + '\\['
  			else:
! 				stuff = pat[i:j].replace('\\','\\\\')
  				i = j+1
  				if stuff[0] == '!':