1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Improve tests/scripts/depends.py code

As suggested by gilles-peskine-arm.

Co-authored-by: Gilles Peskine <gilles.peskine@arm.com>
Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
Andrzej Kurek
2023-02-06 10:49:46 +01:00
parent 3ebe7d6260
commit 3e7666b95d

View File

@@ -139,8 +139,7 @@ which will make a symbol defined with a certain value."""
if value is False: if value is False:
log_command(['config.py', 'unset', option]) log_command(['config.py', 'unset', option])
conf.unset(option) conf.unset(option)
else: elif value is True:
if value is True:
log_command(['config.py', 'set', option]) log_command(['config.py', 'set', option])
conf.set(option) conf.set(option)
else: else: