summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2014-07-25 11:13:23 -0300
committerTomás Touceda <chiiph@leap.se>2014-07-25 11:39:02 -0300
commitc0a8c436dc1e71cce4ff72506b53ad55cac55f47 (patch)
tree47e752d61d12ca8b1a44946ca55aa894da62f86e
parentdbfcb48a5d4d3aee80ed8dd7b20e61994ddbb667 (diff)
Simplify and sort OS flags.
-rw-r--r--src/leap/bitmask/platform_init/__init__.py6
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"