mirror of
https://github.com/python/cpython.git
synced 2025-08-12 04:49:01 +00:00
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
aa98058cc4
commit
f14c7fc33d
6 changed files with 28 additions and 19 deletions
|
@ -145,7 +145,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