unnecessary
This commit is contained in:
parent
c9597e5981
commit
e4d576e2cd
4
build.py
4
build.py
@ -13,9 +13,9 @@ def get_platform():
|
|||||||
""" a name for the platform """
|
""" a name for the platform """
|
||||||
if sys.platform.startswith('win'):
|
if sys.platform.startswith('win'):
|
||||||
return 'win'
|
return 'win'
|
||||||
elif sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
return 'osx'
|
return 'osx'
|
||||||
elif sys.platform.startswith('linux'):
|
if sys.platform.startswith('linux'):
|
||||||
return 'linux'
|
return 'linux'
|
||||||
raise Exception('Unsupported platform ' + sys.platform)
|
raise Exception('Unsupported platform ' + sys.platform)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user