Skip to content

Commit

Permalink
Fix boolean test, incorrectly changed. Off-by-one errors are particul…
Browse files Browse the repository at this point in the history
…arly ugly with booleans ;) Fixes #77
  • Loading branch information
jaraco committed Sep 7, 2013
1 parent 701115d commit 3117a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/command/upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def upload_file(self, command, pyversion, filename):
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:
Expand Down

0 comments on commit 3117a6c

Please sign in to comment.