Ticket #155: markuptemplate-match-invoke-exec-r765.diff
| File markuptemplate-match-invoke-exec-r765.diff, 1.1 KB (added by Andrew Sutherland <sombrero@…>, 16 years ago) |
|---|
-
genshi/template/markup.py
292 292 remaining = match_templates 293 293 if 'match_once' not in hints: 294 294 remaining = remaining[:idx] + remaining[idx + 1:] 295 for event in self._match(self._eval(self._flatten(template, 296 ctxt), 297 ctxt), ctxt, remaining): 295 for event in self._match(self._exec( 296 self._eval( 297 self._flatten(template, 298 ctxt), 299 ctxt), 300 ctxt), 301 ctxt, remaining): 298 302 yield event 299 303 300 304 ctxt.pop()
