diff options
| author | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-07 17:10:09 -0400 |
|---|---|---|
| committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-07 17:10:09 -0400 |
| commit | ef6e1156652686ee12c46e3ada7c58dd108fc6d3 (patch) | |
| tree | dc2d67200b90d283fea39fdf72a58c0072f1826f /setuptools/command/upload.py | |
| parent | 8f1e9667b962788f171baa1e7570905acaff5dfd (diff) | |
| download | python-setuptools-bitbucket-ef6e1156652686ee12c46e3ada7c58dd108fc6d3.tar.gz | |
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-x | setuptools/command/upload.py | 2 |
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: |
