[Python-checkins] CVS: python/dist/src/Lib cgi.py,1.45,1.46

Guido van Rossum guido@cnri.reston.va.us
Fri, 25 Feb 2000 06:44:06 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	cgi.py 
Log Message:
Fix a broken r.append(name, value) call, spotted by Tim.


Index: cgi.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/cgi.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -C2 -r1.45 -r1.46
*** cgi.py	1999/06/11 18:26:09	1.45
--- cgi.py	2000/02/25 11:44:03	1.46
***************
*** 601,605 ****
          name = urllib.unquote(string.replace(nv[0], '+', ' '))
          value = urllib.unquote(string.replace(nv[1], '+', ' '))
!         r.append(name, value)
  
      return r
--- 601,605 ----
          name = urllib.unquote(string.replace(nv[0], '+', ' '))
          value = urllib.unquote(string.replace(nv[1], '+', ' '))
!         r.append((name, value))
  
      return r