build: Python3 compat and Win line-endings fixes (#26091)

This commit is contained in:
David Sanders
2020-10-30 03:05:38 -07:00
committed by GitHub
parent f065b2ddef
commit e9cd227b5b
4 changed files with 54 additions and 25 deletions

View File

@@ -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