aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/upload.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2013-09-07 17:10:09 -0400
committerJason R. Coombs <jaraco@jaraco.com>2013-09-07 17:10:09 -0400
commit3117a6c743787dc2d409d4c34934d3bcc8f27206 (patch)
treec897bff79236e70628c7ef78956507d18bff70a7 /setuptools/command/upload.py
parent701115d88ba8b59b890672d131bc061c80e889c9 (diff)
downloadexternal_python_setuptools-3117a6c743787dc2d409d4c34934d3bcc8f27206.tar.gz
external_python_setuptools-3117a6c743787dc2d409d4c34934d3bcc8f27206.tar.bz2
external_python_setuptools-3117a6c743787dc2d409d4c34934d3bcc8f27206.zip
Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly with booleans ;) Fixes #77
Diffstat (limited to 'setuptools/command/upload.py')
-rwxr-xr-xsetuptools/command/upload.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py
index 93da7a39..575e121e 100755
--- a/setuptools/command/upload.py
+++ b/setuptools/command/upload.py
@@ -122,7 +122,7 @@ class upload(Command):
body = StringIO.StringIO()
for key, value in data.items():
# handle multiple entries for the same name
- if isinstance(value, list):
+ if not isinstance(value, list):
value = [value]
for value in value:
if type(value) is tuple: