aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: