makedict with masterslaves
This commit is contained in:
@ -498,7 +498,7 @@ class Settings(object):
|
||||
is_indexed = False
|
||||
if option.impl_is_master_slaves('slave'):
|
||||
idx = option_bag.index
|
||||
elif option.impl_is_multi():
|
||||
elif option.impl_is_multi() and option_bag.index is not None:
|
||||
is_indexed = True
|
||||
config_bag = option_bag.config_bag.copy()
|
||||
config_bag.set_permissive()
|
||||
@ -514,8 +514,7 @@ class Settings(object):
|
||||
try:
|
||||
value = context.getattr(reqpath,
|
||||
soption_bag)
|
||||
#if is_indexed:
|
||||
if is_indexed and option_bag.index is not None:
|
||||
if is_indexed:
|
||||
value = value[option_bag.index]
|
||||
except PropertiesOptionError as err:
|
||||
properties = err.proptype
|
||||
|
Reference in New Issue
Block a user