diff options
| author | Facundo Batista <facundobatista@gmail.com> | 2008-09-09 02:43:19 +0000 |
|---|---|---|
| committer | Facundo Batista <facundobatista@gmail.com> | 2008-09-09 02:43:19 +0000 |
| commit | a27244bfa13ed7e0efd0d0fd2dd6a553fbb08124 (patch) | |
| tree | 3bc30bfbe80a939a298253cc4311076a4e101453 /Lib/cgi.py | |
| parent | 1cd0247a4d1b8282631707ba06b514aeddc75782 (diff) | |
| download | cpython-git-a27244bfa13ed7e0efd0d0fd2dd6a553fbb08124.tar.gz | |
Added a warning filter to don't show the warning during
the tests. Also fixed the warning message in cgi.py
Diffstat (limited to 'Lib/cgi.py')
| -rwxr-xr-x | Lib/cgi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/cgi.py b/Lib/cgi.py index d1ac4be702..e62fcf2c7f 100755 --- a/Lib/cgi.py +++ b/Lib/cgi.py @@ -168,7 +168,7 @@ def parse_qs(qs, keep_blank_values=0, strict_parsing=0): 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 urllib.parse.parse_qs instead", + warn("cgi.parse_qsl is deprecated, use urllib.parse.parse_qsl instead", DeprecationWarning) return urllib.parse.parse_qsl(qs, keep_blank_values, strict_parsing) |
