The order that __get_options() and __get_implementations() are called in shouldn't matter.
This commit is contained in:
@ -269,7 +269,7 @@ class InstConfigData(object):
|
|||||||
self.opt_dict[sect]['permanent'] = permanent
|
self.opt_dict[sect]['permanent'] = permanent
|
||||||
self.opt_dict[sect]['imptype'] = imptype
|
self.opt_dict[sect]['imptype'] = imptype
|
||||||
if stateval == True:
|
if stateval == True:
|
||||||
if selected_imp == 'none' or (selected_imp in self.imp2opt_dict):
|
if selected_imp == 'none' or (selected_imp in self.imp2opt_dict) and self.imp2opt_dict[selected_imp] != 'none':
|
||||||
self.opt_dict[sect]['enabled'] = False
|
self.opt_dict[sect]['enabled'] = False
|
||||||
self.opt_dict[sect]['selected_imp'] = 'none'
|
self.opt_dict[sect]['selected_imp'] = 'none'
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user