1. Steve Losh
  2. hg-paste

Commits

Daniel Graña  committed 743641d

be sure that sequential parameters are expanded as multiple parameters

  • Participants
  • Parent commits 4ac5e11
  • Branches default

Comments (0)

Files changed (1)

File paste.py

View file
 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()