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