summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-02-25 11:44:03 (GMT)
committerGuido van Rossum <guido@python.org>2000-02-25 11:44:03 (GMT)
commit3af7b050a33b4d22260c01ce6b6700e1159edce0 (patch)
treed8d12b3dbd7a7732d61497b335fef4200df0efe3
parentc00a938be8734e1831396d3967cdb2deb50c7a95 (diff)
downloadcpython-3af7b050a33b4d22260c01ce6b6700e1159edce0.zip
cpython-3af7b050a33b4d22260c01ce6b6700e1159edce0.tar.gz
cpython-3af7b050a33b4d22260c01ce6b6700e1159edce0.tar.bz2
Fix a broken r.append(name, value) call, spotted by Tim.
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index efa492a..d69da04 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -600,7 +600,7 @@ def parse_qsl(qs, keep_blank_values=0, strict_parsing=0):
continue
name = urllib.unquote(string.replace(nv[0], '+', ' '))
value = urllib.unquote(string.replace(nv[1], '+', ' '))
- r.append(name, value)
+ r.append((name, value))
return r