Commits

Jason R. Coombs committed 5602c7d

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

Comments (0)

Files changed (2)

 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

setuptools/command/upload.py

         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):