Commits

Jason R. Coombs  committed 57e50c3

Correct regression in upload_docs in syntax adjustment. Fixes #124.

  • Participants
  • Parent commits f4d6757

Comments (0)

Files changed (2)

 CHANGES
 =======
 
+-----
+2.0.1
+-----
+
+* Issue #124: Fixed error in list detection in upload_docs.
+
 ---
 2.0
 ---

File setuptools/command/upload_docs.py

         for key, values in iteritems(data):
             title = '\nContent-Disposition: form-data; name="%s"' % key
             # handle multiple entries for the same name
-            if isinstance(values, list):
+            if not isinstance(values, list):
                 values = [values]
             for value in values:
                 if type(value) is tuple: