Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use `doseq=True` parameter in urllib.urlencode().

  • Loading branch information...
commit 1779a7d88f20175b5955d55266e303bdd2f0e6a8 1 parent 09ea33f
Berker Peksag authored September 01, 2012

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  murl.py
3  murl.py
@@ -76,8 +76,7 @@ def path(self, value):
76 76
     @property
77 77
     def querystring(self):
78 78
         if self.params.get('query'):
79  
-            return urlencode(dict((k, ''.join(map(str, v)))
80  
-                for k, v in parse_qs(self.params.get('query')).items()))
  79
+            return urlencode(parse_qs(self.params.get('query')), doseq=True)
81 80
         return ''
82 81
 
83 82
     @property

0 notes on commit 1779a7d

Please sign in to comment.
Something went wrong with that request. Please try again.