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 | 6d092ff97c70d3816354477df187680d9d664eab (patch) | |
tree | 5641160a88d7f863399ff8bc04fede84998b6800 /setuptools/command/upload_docs.py | |
parent | 41713e5114b3a18128b4199db5121fe2ab0a22d2 (diff) | |
download | python-setuptools-bitbucket-6d092ff97c70d3816354477df187680d9d664eab.tar.gz |
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.py | 2 |
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: |