submulti is not allowed for consistency

This commit is contained in:
Emmanuel Garette 2018-09-15 22:49:36 +02:00
parent 2d063f8170
commit 1d6e0c0dcd
1 changed files with 2 additions and 7 deletions

View File

@ -611,11 +611,6 @@ 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():
for val in value_:
all_cons_vals.append( val)
all_cons_opts.append(opt)
else:
all_cons_vals.append(value_) all_cons_vals.append(value_)
all_cons_opts.append(opt) all_cons_opts.append(opt)
else: else: