Merged revisions 77717 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77717 | tarek.ziade | 2010-01-24 01:33:32 +0100 (Sun, 24 Jan 2010) | 1 line

  Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
........
This commit is contained in:
Tarek Ziadé 2010-01-24 00:57:20 +00:00
parent 6411a53d7d
commit 495517cd38
5 changed files with 24 additions and 17 deletions

View file

@ -133,7 +133,7 @@ class upload(PyPIRCCommand):
value = value[1]
else:
fn = ""
value = str(value)
body.write(sep_boundary)
body.write('\nContent-Disposition: form-data; name="%s"'%key)
body.write(fn)