]> Devi Nivas Git - chevron.git/commitdiff
Fixed the bug from last night.
authornoah morrison <noah@morrison.ph>
Mon, 3 Nov 2014 21:40:48 +0000 (16:40 -0500)
committernoah morrison <noah@morrison.ph>
Mon, 3 Nov 2014 21:40:48 +0000 (16:40 -0500)
Removed some leftover code from testing that messed things up.

chevron.py

index a81497cf491c4054d49d26bafbfbb8d68590706c..14ce32a3b3ea12c3e62c976361802d1f7e3a4a33 100755 (executable)
@@ -82,9 +82,7 @@ def tokenize(template):
     while not template.closed:
         literal = grab_literal()
 
-        if literal == '':
-            continue
-        else:
+        if literal != '':
             yield ('literal', literal)
 
         if template.closed: