diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-03 22:40:40 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2013-09-03 22:40:40 -0400 |
commit | 701115d88ba8b59b890672d131bc061c80e889c9 (patch) | |
tree | e246a130de8288aebdef1902f2d0334754926c99 /setuptools/command/upload.py | |
parent | bd959a59df72cacea485bedccd8f5d452e0aa353 (diff) | |
download | python-setuptools-git-701115d88ba8b59b890672d131bc061c80e889c9.tar.gz |
Use isinstance for type comparison
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 8d258d5a..93da7a39 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 type(value) != type([]): + if isinstance(value, list): value = [value] for value in value: if type(value) is tuple: |