Edgewall Software

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)

trivial patch with ugly whitespace to avoid col80 overflow

  • genshi/template/markup.py

     
    292292                    remaining = match_templates
    293293                    if 'match_once' not in hints:
    294294                        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):
    298302                        yield event
    299303
    300304                    ctxt.pop()