1. PyPA
  2. Python Packaging Authority Projects
  3. setuptools


Jason R. Coombs  committed 22fd25c

Fix boolean test, incorrectly changed. Off-by-one errors are particularly ugly with booleans ;) Fixes #77

  • Participants
  • Parent commits 85a976d
  • Branches default

Comments (0)

Files changed (1)

File setuptools/command/upload.py

View file
  • Ignore whitespace
         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: