Commit ca3e8a37 authored by Jason R. Coombs's avatar Jason R. Coombs

Correct AttributeError in upload command on Python 2.4. Fixes #76

parent aa3e70d8
......@@ -2,12 +2,13 @@
CHANGES
=======
----
next
----
-----
1.1.1
-----
* Issue #75: Add ``--insecure`` option to ez_setup.py to accommodate
environments where a trusted SSL connection cannot be validated.
* Issue #76: Fix AttributeError in upload command with Python 2.4.
---
1.1
......
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment