summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 00:27:32 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-09-25 14:36:30 -0400
commit5be675eb0332ccf660a81df51701146997ef9fcb (patch)
tree22ff68fa1ea7b92a263b46449f306e2e8f12bc4a /modules
parent45a9a680a3cf54d4f43c46c3ec43a108ee62b834 (diff)
Use BoolVariable for module options.
Diffstat (limited to 'modules')
-rw-r--r--modules/etc/config.py2
-rw-r--r--modules/squish/config.py2
-rw-r--r--modules/tinyexr/config.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/etc/config.py b/modules/etc/config.py
index ee719e52b8..7dc2cb59c1 100644
--- a/modules/etc/config.py
+++ b/modules/etc/config.py
@@ -7,5 +7,5 @@ def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
if not env['tools']:
- env["module_etc_enabled"] = "no"
+ env['module_etc_enabled'] = False
env.disabled_modules.append("etc")
diff --git a/modules/squish/config.py b/modules/squish/config.py
index 2b296389de..9b7729bda4 100644
--- a/modules/squish/config.py
+++ b/modules/squish/config.py
@@ -7,5 +7,5 @@ def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
if not env['tools']:
- env["module_squish_enabled"] = "no"
+ env['module_squish_enabled'] = False
env.disabled_modules.append("squish")
diff --git a/modules/tinyexr/config.py b/modules/tinyexr/config.py
index 9cbf22cdc6..3e16fd725e 100644
--- a/modules/tinyexr/config.py
+++ b/modules/tinyexr/config.py
@@ -7,5 +7,5 @@ def configure(env):
# Tools only, disabled for non-tools
# TODO: Find a cleaner way to achieve that
if not env['tools']:
- env["module_tinyexr_enabled"] = "no"
+ env['module_tinyexr_enabled'] = False
env.disabled_modules.append("tinyexr")