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:
Daniel Dehennin 2013-01-31 17:01:10 +01:00
parent 03baedd4dd
commit 2cb3ddf2e8
1 changed files with 3 additions and 4 deletions

View File

@ -91,8 +91,7 @@ class Multi(list):
if master == multi.opt._name:
if add_master:
multi._setvalue(value, who=settings.get_owner())
elif len(multi) == 0 \
or len(multi) < len(self):
elif len(multi) == 0 or len(multi) < len(self):
multi._append_default()
def _append_default(self):