Skip to content

Commit 6ea4006

Browse files
committed
[tools] Fixed infinite loop in config scan due to list comparison error
Previously a scanning for config terminated on comparison of the feature set, however at some point the set was changed to a list. This resulted in non-deterministic failures based on list order.
1 parent ac34f29 commit 6ea4006

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ def load_resources(self, resources):
444444
self.add_config_files(resources.json_files)
445445

446446
# Add features while we find new ones
447-
features = self.get_features()
447+
features = set(self.get_features())
448448
if features == prev_features:
449449
break
450450

0 commit comments

Comments
 (0)