[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.
pull/2317/head
Christopher Haster 2016-07-29 12:20:52 -05:00
parent ac34f29f66
commit 6ea4006b5a
1 changed files with 1 additions and 1 deletions

View File

@ -444,7 +444,7 @@ class Config:
self.add_config_files(resources.json_files)
# Add features while we find new ones
features = self.get_features()
features = set(self.get_features())
if features == prev_features:
break