SL-15742 Return correct default platform for linux
Since python 3.3 sys.platform for Linux will always be 'linux'. See https://bugs.python.org/issue12326 - fix by NickyDmeow-7.2.2
parent
ee0d2648e8
commit
f695a5d1a8
|
|
@ -83,8 +83,7 @@ def proper_windows_path(path, current_platform = sys.platform):
|
|||
return drive_letter.upper() + ':\\' + rel.replace('/', '\\')
|
||||
|
||||
def get_default_platform(dummy):
|
||||
return {'linux2':'linux',
|
||||
'linux1':'linux',
|
||||
return {'linux':'linux',
|
||||
'cygwin':'windows',
|
||||
'win32':'windows',
|
||||
'darwin':'darwin'
|
||||
|
|
|
|||
Loading…
Reference in New Issue