plint

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

commit 7911d197ba005a8963ddb0a617ff2fe3c95dca31
parent 7f93dfb1a042560e57035786c8bab5b5e719bf81
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 30 Jan 2013 22:56:59 +0100

Don't report incompleteness in case of overflows

Diffstat:
template.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template.py b/template.py @@ -130,7 +130,7 @@ class Template: pattern = self.get() if last: - if was_incomplete: + if was_incomplete and not self.overflowed: errors.append(error.ErrorIncompleteTemplate()) return errors, pattern