From 37d5f8a96d4708b336fc8c6655ef4b0789afd6ea Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 15 Dec 2013 22:10:07 -0500 Subject: Correct regression in upload_docs in syntax adjustment. Fixes #124. --- setuptools/command/upload_docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/upload_docs.py') diff --git a/setuptools/command/upload_docs.py b/setuptools/command/upload_docs.py index 8ee35cb0..cad7a52d 100644 --- a/setuptools/command/upload_docs.py +++ b/setuptools/command/upload_docs.py @@ -127,7 +127,7 @@ class upload_docs(upload): 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: -- cgit v1.2.1