Commit 2107e616 by Chris Wanstrath
parent 6372a337
...@@ -23,7 +23,7 @@ class Template(object): ...@@ -23,7 +23,7 @@ class Template(object):
def render_sections(self, template, context): def render_sections(self, template, context):
"""Expands sections.""" """Expands sections."""
while True: while 1:
match = SECTION_RE.search(template) match = SECTION_RE.search(template)
if match is None: if match is None:
break break
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment