summaryrefslogtreecommitdiff
path: root/modules/etc/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/etc/config.py')
-rw-r--r--modules/etc/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/etc/config.py b/modules/etc/config.py
index 4b0b01b78e..7dc2cb59c1 100644
--- a/modules/etc/config.py
+++ b/modules/etc/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"):
- env["module_etc_enabled"] = "no"
+ if not env['tools']:
+ env['module_etc_enabled'] = False
env.disabled_modules.append("etc")