mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
build: Python3 compat and Win line-endings fixes (#26091)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user