mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2025-12-06 07:12:32 +01: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:
parent
81cf5ad347
commit
72082dc28e
|
|
@ -151,8 +151,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:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue