mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
kconfig: ignore nonexistent new names
This commit is contained in:
parent
aecfbf966c
commit
89f572c933
@ -119,8 +119,11 @@ class DeprecatedOptions(object):
|
|||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
# otherwise if any of the nodes associated with the option was visible
|
try:
|
||||||
return any(visibility.visible(node) for node in config.syms[opt].nodes)
|
# otherwise if any of the nodes associated with the option was visible
|
||||||
|
return any(visibility.visible(node) for node in config.syms[opt].nodes)
|
||||||
|
except KeyError:
|
||||||
|
return False
|
||||||
|
|
||||||
if len(self.r_dic) > 0:
|
if len(self.r_dic) > 0:
|
||||||
with open(path_output, 'a') as f_o:
|
with open(path_output, 'a') as f_o:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user