submulti is not allowed for consistency
This commit is contained in:
parent
2d063f8170
commit
1d6e0c0dcd
|
@ -611,13 +611,8 @@ class Option(OnlyOption):
|
||||||
length = len_value
|
length = len_value
|
||||||
if isinstance(opt_value, list) and func in ALLOWED_CONST_LIST:
|
if isinstance(opt_value, list) and func in ALLOWED_CONST_LIST:
|
||||||
for value_ in opt_value:
|
for value_ in opt_value:
|
||||||
if opt.impl_is_submulti():
|
all_cons_vals.append(value_)
|
||||||
for val in value_:
|
all_cons_opts.append(opt)
|
||||||
all_cons_vals.append( val)
|
|
||||||
all_cons_opts.append(opt)
|
|
||||||
else:
|
|
||||||
all_cons_vals.append(value_)
|
|
||||||
all_cons_opts.append(opt)
|
|
||||||
else:
|
else:
|
||||||
all_cons_vals.append(opt_value)
|
all_cons_vals.append(opt_value)
|
||||||
all_cons_opts.append(opt)
|
all_cons_opts.append(opt)
|
||||||
|
|
Loading…
Reference in New Issue