diff Lib/distutils/command/upload.py @ 58462:807d83f57bc8 legacy-trunk

Fixed #7748: now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
author Tarek Ziadé <ziade.tarek@gmail.com>
date Sun, 24 Jan 2010 00:33:32 +0000
parents 3e2b7965ada9
children baf1a482b57d
line wrap: on
line diff
--- a/Lib/distutils/command/upload.py	Sat Jan 23 23:04:36 2010 +0000
+++ b/Lib/distutils/command/upload.py	Sun Jan 24 00:33:32 2010 +0000
@@ -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)