build: Python3 compat and Win line-endings fixes (#26091)
This commit is contained in:
parent
f065b2ddef
commit
e9cd227b5b
4 changed files with 54 additions and 25 deletions
|
@ -39,7 +39,7 @@ verbose_mode = False
|
|||
|
||||
|
||||
def get_platform_key():
|
||||
if os.environ.has_key('MAS_BUILD'):
|
||||
if 'MAS_BUILD' in os.environ:
|
||||
return 'mas'
|
||||
else:
|
||||
return PLATFORM
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue