1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Rename variable

Signed-off-by: Gabor Mezei <gabor.mezei@arm.com>
This commit is contained in:
Gabor Mezei
2024-11-12 18:03:33 +01:00
parent 242806ad6f
commit af198c2ee5

View File

@ -403,11 +403,11 @@ def turn_off_dependencies(config_settings, exclude=None):
# Recursively determine the excludable dependencies
excludes = set()
if exclude:
rev_excludes = set(REVERSE_DEPENDENCIES.get(exclude, []))
while rev_excludes:
dep = rev_excludes.pop()
revdep = set(REVERSE_DEPENDENCIES.get(exclude, []))
while revdep:
dep = revdep.pop()
excludes.add(dep)
rev_excludes.update(set(REVERSE_DEPENDENCIES.get(dep, [])) - excludes)
revdep.update(set(REVERSE_DEPENDENCIES.get(dep, [])) - excludes)
for key, value in sorted(config_settings.items()):
if value is not False: