separate value in slave

This commit is contained in:
2015-11-19 22:25:00 +01:00
parent a248508498
commit 54ca54e505
16 changed files with 409 additions and 416 deletions

View File

@ -433,7 +433,8 @@ class Settings(object):
value=None, force_permissive=False,
force_properties=None,
setting_properties=undefined,
self_properties=undefined):
self_properties=undefined,
index=None):
"""
validation upon the properties related to `opt_or_descr`
@ -480,7 +481,7 @@ class Settings(object):
else:
if 'mandatory' in properties and \
not self._getcontext().cfgimpl_get_values()._isempty(
opt_or_descr, value):
opt_or_descr, value, index=index):
properties.remove('mandatory')
elif opt_or_descr.impl_is_multi() and \
not is_write and 'empty' in forced_properties and \