diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-12-15 22:10:07 -0500 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-12-15 22:10:07 -0500 |
commit | 37d5f8a96d4708b336fc8c6655ef4b0789afd6ea (patch) | |
tree | a8d76c9075144de4755e539c26981210f75875b7 | |
parent | 02a2d475691af0932df4306b24d101b2880f2e79 (diff) | |
download | external_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.
-rw-r--r-- | CHANGES.txt | 6 | ||||
-rw-r--r-- | setuptools/command/upload_docs.py | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 90e2aaa8..0f587334 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -2,6 +2,12 @@ CHANGES ======= +----- +2.0.1 +----- + +* Issue #124: Fixed error in list detection in upload_docs. + --- 2.0 --- 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: |