summaryrefslogtreecommitdiff
path: root/modules/squish
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:04:49 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:02 -0400
commitffab67b8daea8e3379824105439eba8226b72fde (patch)
treebc12f51abfdec242fb0e42a04f02a3de9359fce5 /modules/squish
parentf9e463bce2607c5136acc79ecd495f8b62b8e5ad (diff)
Use BoolVariable in target/component/advanced options.
Diffstat (limited to 'modules/squish')
-rw-r--r--modules/squish/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/squish/config.py b/modules/squish/config.py
index cc8f098010..2b296389de 100644
--- a/modules/squish/config.py
+++ b/modules/squish/config.py
@@ -6,6 +6,6 @@ def can_build(platform):
def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
- if (env["tools"] == "no"):
+ if not env['tools']:
env["module_squish_enabled"] = "no"
env.disabled_modules.append("squish")