commit | f14c7fc33da8ba3aa28bbb7b0305ea12ab30be09 | [log] [tgz] |
---|---|---|
author | Tarek Ziadé <ziade.tarek@gmail.com> | Sun Jan 24 00:33:32 2010 +0000 |
committer | Tarek Ziadé <ziade.tarek@gmail.com> | Sun Jan 24 00:33:32 2010 +0000 |
tree | c3a88b29baa9ee925ad8181c4853afe0ed582987 | |
parent | aa98058cc44ba20f35c106d20918c6196b737561 [diff] [blame] |
Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 3e18aea..18a10a0 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py
@@ -145,7 +145,7 @@ value = value[1] else: fn = "" - value = str(value) + body.write(sep_boundary) body.write('\nContent-Disposition: form-data; name="%s"'%key) body.write(fn)