Mercurial > genshi > genshi-test
changeset 193:76129a79458d
Fix for Python 2.3 compatibility in `py:with` directive (regression in [240]).
author | cmlenz |
---|---|
date | Thu, 24 Aug 2006 19:03:24 +0000 |
parents | cda3bdfc19ed |
children | eb5c8200f49b |
files | markup/template.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/markup/template.py +++ b/markup/template.py @@ -689,7 +689,7 @@ ctxt.push(frame) for names, expr in self.vars: value = expr.evaluate(ctxt, nocall=True) - frame.update(dict((name, value) for name in names)) + frame.update(dict([(name, value) for name in names])) for event in _apply_directives(stream, ctxt, directives): yield event ctxt.pop()