bug: copy config_bag before add set_permissive

This commit is contained in:
Emmanuel Garette 2018-08-18 16:11:12 +02:00
parent 85e9e8d71a
commit 7340ceb173
1 changed files with 1 additions and 1 deletions

View File

@ -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)