plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

commit 6c1437b9e5ae4e7ee1bbd868e5f0f061e9513af3
parent abe65c96be156391b32e77d0cd871b3a87e143cf
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Sun, 16 Dec 2012 00:02:18 +0100

always read '...' even when no errors

Diffstat:
plint_irc.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/plint_irc.py b/plint_irc.py @@ -58,8 +58,7 @@ def manage(line, silent=False): return False if not leading_cap(text): return False - errors = template.check(text, quiet=True) - if len(errors) > 0 and (text.rstrip().endswith("...") or + if (text.rstrip().endswith("...") or text.rstrip().endswith("…")): # it might be a call buf = text @@ -68,6 +67,7 @@ def manage(line, silent=False): else: lbuf = [l] return True + errors = template.check(text, quiet=False) quiet = False for error in errors: if error == None: