Fix a broken r.append(name, value) call, spotted by Tim.
authorGuido van Rossum <guido@python.org>
Fri, 25 Feb 2000 11:44:03 +0000 (11:44 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 25 Feb 2000 11:44:03 +0000 (11:44 +0000)
Lib/cgi.py

index efa492a0a1d67ca7757575efe2761f40b2f4675d..d69da04fabeae7dd6e43a088f2f6a6881779cb3b 100755 (executable)
@@ -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