mirror of
https://github.com/python/cpython.git
synced 2025-08-21 17:25:34 +00:00
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:
parent
6411a53d7d
commit
495517cd38
5 changed files with 24 additions and 17 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue