diff 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") |