From: noah morrison Date: Mon, 3 Nov 2014 21:40:48 +0000 (-0500) Subject: Fixed the bug from last night. X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=d8cc1253acfaf61d7bdc93ab4a9b6206145db0c9;p=chevron.git Fixed the bug from last night. Removed some leftover code from testing that messed things up. --- diff --git a/chevron.py b/chevron.py index a81497c..14ce32a 100755 --- a/chevron.py +++ b/chevron.py @@ -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: