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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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