From: Ben Darnell Date: Fri, 15 Mar 2013 02:44:18 +0000 (-0400) Subject: Fix bad merge X-Git-Tag: v3.0.0~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebac4c0dfad050ba151e29300a8ee50b981f2255;p=thirdparty%2Ftornado.git Fix bad merge --- diff --git a/tornado/httputil.py b/tornado/httputil.py index f68c7414a..9a614a456 100644 --- a/tornado/httputil.py +++ b/tornado/httputil.py @@ -233,9 +233,6 @@ def parse_body_arguments(content_type, body, arguments, files): that will be updated with the parsed contents. """ if content_type.startswith("application/x-www-form-urlencoded"): - uri_arguments = parse_qs_bytes(native_str(body)) - for name, values in uri_arguments.items(): - values = [v for v in values if v] uri_arguments = parse_qs_bytes(native_str(body), keep_blank_values=True) for name, values in uri_arguments.items(): if values: