Fix line wrapping and some raise messages spacing
* tiramisu/option.py (Multi.append): do not wrapp short line. (validate_requires_arg): Add missing space for multi line strings.
This commit is contained in:
parent
03baedd4dd
commit
2cb3ddf2e8
|
@ -91,8 +91,7 @@ class Multi(list):
|
||||||
if master == multi.opt._name:
|
if master == multi.opt._name:
|
||||||
if add_master:
|
if add_master:
|
||||||
multi._setvalue(value, who=settings.get_owner())
|
multi._setvalue(value, who=settings.get_owner())
|
||||||
elif len(multi) == 0 \
|
elif len(multi) == 0 or len(multi) < len(self):
|
||||||
or len(multi) < len(self):
|
|
||||||
multi._append_default()
|
multi._append_default()
|
||||||
|
|
||||||
def _append_default(self):
|
def _append_default(self):
|
||||||
|
|
Loading…
Reference in New Issue