Commits

Jason R. Coombs committed 85a976d

Use isinstance for type comparison

  • Participants
  • Parent commits 5c334e6

Comments (0)

Files changed (1)

setuptools/command/upload.py

         body = StringIO.StringIO()
         for key, value in data.items():
             # handle multiple entries for the same name
-            if type(value) != type([]):
+            if isinstance(value, list):
                 value = [value]
             for value in value:
                 if type(value) is tuple: