Mercurial > genshi > mirror
diff genshi/template/markup.py @ 690:1240ada13334 experimental-match-fastpaths
more code/comment clean up - make sure to retain match order
author | aflett |
---|---|
date | Sat, 15 Mar 2008 05:42:29 +0000 |
parents | 3d7288f373bd |
children | af57b12e3dd2 |
line wrap: on
line diff
--- a/genshi/template/markup.py +++ b/genshi/template/markup.py @@ -298,7 +298,8 @@ template = _apply_directives(template, ctxt, directives) remaining = match_set if 'match_once' not in hints: - # match has not been removed, so we need an exclusion matchset + # match has not been removed, so we need an + # exclusion matchset remaining = match_set.with_exclusion(match_template) body = self._exec(self._eval(self._flatten(template, ctxt),