diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-03 22:46:55 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-03 22:46:55 -0400 |
commit | ca3e8a370652c0735cb3921d43152e1014bbd946 (patch) | |
tree | a6cd3f3f6b893dbfc3f4eaae1a94e0932bfedba3 /setuptools/command | |
parent | aa3e70d8a887dc71ecc8170d04a623fa5542360f (diff) | |
download | external_python_setuptools-ca3e8a370652c0735cb3921d43152e1014bbd946.tar.gz external_python_setuptools-ca3e8a370652c0735cb3921d43152e1014bbd946.tar.bz2 external_python_setuptools-ca3e8a370652c0735cb3921d43152e1014bbd946.zip |
Correct AttributeError in upload command on Python 2.4. Fixes #76
Diffstat (limited to 'setuptools/command')
-rwxr-xr-x | setuptools/command/upload.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py index dde4decd..5476b5ec 100755 --- a/setuptools/command/upload.py +++ b/setuptools/command/upload.py @@ -119,7 +119,7 @@ class upload(Command): boundary = '--------------GHSKFJDLGDS7543FJKLFHRE75642756743254' sep_boundary = '\n--' + boundary end_boundary = sep_boundary + '--' - body = StringIO.StringIO() + body = StringIO() for key, value in data.items(): # handle multiple entries for the same name if isinstance(value, list): |