summaryrefslogtreecommitdiffstats
path: root/Lib/cgi.py
diff options
context:
space:
mode:
authorFacundo Batista <facundobatista@gmail.com>2008-09-08 00:20:28 (GMT)
committerFacundo Batista <facundobatista@gmail.com>2008-09-08 00:20:28 (GMT)
commitace0bcf6690ccf042b20203325048f0b9fef85de (patch)
treed1121c4c69c244975020a5e8ecf015efed0e3a3d /Lib/cgi.py
parente080cdf30a2e0aa4ae557ed3434e2369d9199318 (diff)
downloadcpython-ace0bcf6690ccf042b20203325048f0b9fef85de.zip
cpython-ace0bcf6690ccf042b20203325048f0b9fef85de.tar.gz
cpython-ace0bcf6690ccf042b20203325048f0b9fef85de.tar.bz2
Issue 3801. Fixing a dumb error in the deprecated parse_qsl()
function. Tests added.
Diffstat (limited to 'Lib/cgi.py')
-rwxr-xr-xLib/cgi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py
index 373ba51..33b91bf 100755
--- a/Lib/cgi.py
+++ b/Lib/cgi.py
@@ -189,7 +189,7 @@ def parse_qsl(qs, keep_blank_values=0, strict_parsing=0):
"""Parse a query given as a string argument."""
warn("cgi.parse_qsl is deprecated, use urlparse.parse_qsl instead",
PendingDeprecationWarning)
- return urlparse.parse_qs(qs, keep_blank_values, strict_parsing)
+ return urlparse.parse_qsl(qs, keep_blank_values, strict_parsing)
def parse_multipart(fp, pdict):
"""Parse multipart input.