aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload_docs.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-12-15 22:10:07 -0500
committerJason R. Coombs <jaraco@jaraco.com>2013-12-15 22:10:07 -0500
commit37d5f8a96d4708b336fc8c6655ef4b0789afd6ea (patch)
treea8d76c9075144de4755e539c26981210f75875b7 /setuptools/command/upload_docs.py
parent02a2d475691af0932df4306b24d101b2880f2e79 (diff)
downloadexternal_python_setuptools-37d5f8a96d4708b336fc8c6655ef4b0789afd6ea.tar.gz
external_python_setuptools-37d5f8a96d4708b336fc8c6655ef4b0789afd6ea.tar.bz2
external_python_setuptools-37d5f8a96d4708b336fc8c6655ef4b0789afd6ea.zip
Correct regression in upload_docs in syntax adjustment. Fixes #124.
Diffstat (limited to 'setuptools/command/upload_docs.py')
-rw-r--r--setuptools/command/upload_docs.py2
1 files changed, 1 insertions, 1 deletions
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: