unnecessary

This commit is contained in:
William L 2018-08-08 04:02:53 -07:00 committed by GitHub
parent c9597e5981
commit e4d576e2cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,9 +13,9 @@ def get_platform():
""" a name for the platform """
if sys.platform.startswith('win'):
return 'win'
elif sys.platform == 'darwin':
if sys.platform == 'darwin':
return 'osx'
elif sys.platform.startswith('linux'):
if sys.platform.startswith('linux'):
return 'linux'
raise Exception('Unsupported platform ' + sys.platform)