From 3af7b050a33b4d22260c01ce6b6700e1159edce0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 25 Feb 2000 11:44:03 +0000 Subject: [PATCH] Fix a broken r.append(name, value) call, spotted by Tim. --- Lib/cgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/cgi.py b/Lib/cgi.py index efa492a0a1d..d69da04fabe 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