[req] fix url_parse_qsl on py3
authorJulien Cristau <julien.cristau@logilab.fr>
Thu, 01 Oct 2015 12:01:28 +0200
changeset 10753 c90e7bf2dd55
parent 10752 c69f109293f2
child 10754 03aa9f2a4ecb
[req] fix url_parse_qsl on py3 should be folded with previous conversion
req.py
--- a/req.py	Thu Oct 01 11:57:40 2015 +0200
+++ b/req.py	Thu Oct 01 12:01:28 2015 +0200
@@ -338,6 +338,7 @@
         if PY3:
             for key, val in parse_qsl(querystring):
                 yield key, val
+            return
         if isinstance(querystring, unicode):
             querystring = querystring.encode(self.encoding)
         for key, val in parse_qsl(querystring):