diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-24 00:33:32 +0000 |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-01-24 00:33:32 +0000 |
commit | f14c7fc33da8ba3aa28bbb7b0305ea12ab30be09 (patch) | |
tree | c3a88b29baa9ee925ad8181c4853afe0ed582987 /Lib/distutils/command/upload.py | |
parent | aa98058cc44ba20f35c106d20918c6196b737561 (diff) | |
download | cpython-git-f14c7fc33da8ba3aa28bbb7b0305ea12ab30be09.tar.gz |
Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
Diffstat (limited to 'Lib/distutils/command/upload.py')
-rw-r--r-- | Lib/distutils/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 3e18aeaad6..18a10a0b7f 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py @@ -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) |