Mercurial > genshi > mirror
diff markup/template.py @ 145:47bbd9d2a5af trunk
* Fix error in expression evaluation when the expression evaluates to an iterable that does not produce event tuples.
* The first location step in path expressions longer assumes the `descendant::` axis, but rather the `child::` axis.
* Import cleanups.
author | cmlenz |
---|---|
date | Tue, 15 Aug 2006 09:52:47 +0000 |
parents | c1f4390d50f8 |
children | 537f819c547b |
line wrap: on
line diff
--- a/markup/template.py +++ b/markup/template.py @@ -25,8 +25,8 @@ import re from StringIO import StringIO -from markup.core import Attributes, Namespace, Stream, StreamEventKind -from markup.core import _ensure, START, END, START_NS, END_NS, TEXT, COMMENT +from markup.core import Attributes, Namespace, Stream, StreamEventKind, _ensure +from markup.core import START, END, START_NS, END_NS, TEXT, COMMENT from markup.eval import Expression from markup.input import XMLParser from markup.path import Path