diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 00:04:49 -0400 |
---|---|---|
committer | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2017-09-25 14:36:02 -0400 |
commit | ffab67b8daea8e3379824105439eba8226b72fde (patch) | |
tree | bc12f51abfdec242fb0e42a04f02a3de9359fce5 /modules | |
parent | f9e463bce2607c5136acc79ecd495f8b62b8e5ad (diff) |
Use BoolVariable in target/component/advanced options.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/etc/config.py | 2 | ||||
-rw-r--r-- | modules/squish/config.py | 2 | ||||
-rw-r--r-- | modules/tinyexr/config.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/etc/config.py b/modules/etc/config.py index 4b0b01b78e..ee719e52b8 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"): + if not env['tools']: env["module_etc_enabled"] = "no" env.disabled_modules.append("etc") 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") diff --git a/modules/tinyexr/config.py b/modules/tinyexr/config.py index 2e4b96a6b0..9cbf22cdc6 100644 --- a/modules/tinyexr/config.py +++ b/modules/tinyexr/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_tinyexr_enabled"] = "no" env.disabled_modules.append("tinyexr") |