Source

hg-paste / paste.py

Diff from to
 def _paste(handler, content, opts):
     default_url, data = handler(content, **opts)
     url = opts['url'] or default_url
-    request = urllib2.Request(url, urlencode(data))
+    request = urllib2.Request(url, urlencode(data, doseq=1))
     _authorize_request(request, **opts)
     response = urllib2.urlopen(request)
     return response.geturl()