diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-25 11:13:23 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-07-25 11:13:23 -0300 |
commit | be27a8b548f01220f34c8f15dbc1973b110a790f (patch) | |
tree | 35485168069dcd9c793319ab785bd1e154d7ce95 /src/leap | |
parent | f22d3f3950cd84c36575686c271b7d15b4dfb683 (diff) |
Simplify and sort OS flags.
Diffstat (limited to 'src/leap')
-rw-r--r-- | src/leap/bitmask/platform_init/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/leap/bitmask/platform_init/__init__.py b/src/leap/bitmask/platform_init/__init__.py index 2a262a30..a9a97af9 100644 --- a/src/leap/bitmask/platform_init/__init__.py +++ b/src/leap/bitmask/platform_init/__init__.py @@ -22,7 +22,7 @@ import platform _system = platform.system() -IS_WIN = True if _system == "Windows" else False -IS_MAC = True if _system == "Darwin" else False -IS_LINUX = True if _system == "Linux" else False +IS_LINUX = _system == "Linux" +IS_MAC = _system == "Darwin" IS_UNIX = IS_MAC or IS_LINUX +IS_WIN = _system == "Windows" |