bug: copy config_bag before add set_permissive
This commit is contained in:
parent
85e9e8d71a
commit
7340ceb173
|
@ -468,7 +468,7 @@ class Option(OnlyOption):
|
||||||
if option_bag.config_bag is undefined:
|
if option_bag.config_bag is undefined:
|
||||||
cconfig_bag = undefined
|
cconfig_bag = undefined
|
||||||
else:
|
else:
|
||||||
cconfig_bag = option_bag.config_bag
|
cconfig_bag = option_bag.config_bag.copy()
|
||||||
cconfig_bag.set_permissive()
|
cconfig_bag.set_permissive()
|
||||||
for cons_id, func, all_cons_opts, params in consistencies:
|
for cons_id, func, all_cons_opts, params in consistencies:
|
||||||
warnings_only = params.get('warnings_only', False)
|
warnings_only = params.get('warnings_only', False)
|
||||||
|
|
Loading…
Reference in New Issue