commit 325243760fcb22d6cd056ee2bf965370ea4e2239
parent 52edc174e799ddc33bd0b3fc3a026741be582300
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Wed, 30 Jan 2013 23:10:48 +0100
Fix bug with incomplete_ok
Diffstat:
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 and not self.overflowed:
+      if was_incomplete and not self.incomplete_ok and not self.overflowed:
         errors.append(error.ErrorIncompleteTemplate())
       return errors, pattern