summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wanstrath <chris@ozmm.org>2009-11-11 16:52:41 -0800
committerChris Wanstrath <chris@ozmm.org>2009-11-11 16:52:41 -0800
commit2107e616fd51e3d4d76e6ff76018a5498dc95b0d (patch)
tree1d41c3c378b6940f9b2621e5fddf11337d12a70a
parent6372a33744ae149a1c0f5de6d42bbb763381962b (diff)
downloadpystache-2107e616fd51e3d4d76e6ff76018a5498dc95b0d.tar.gz
e flo layeth the smack downeth
http://github.com/defunkt/pystache/commit/6372a33744ae149a1c0f5de6d42bbb763381962b#comments
-rw-r--r--pystache/template.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pystache/template.py b/pystache/template.py
index ba06547..7fff600 100644
--- a/pystache/template.py
+++ b/pystache/template.py
@@ -23,7 +23,7 @@ class Template(object):
def render_sections(self, template, context):
"""Expands sections."""
- while True:
+ while 1:
match = SECTION_RE.search(template)
if match is None:
break