[Lxml-checkins] r52103 - in lxml/trunk: . src/lxml
scoder at codespeak.net
scoder at codespeak.net
Mon Mar 3 19:41:03 CET 2008
Author: scoder
Date: Mon Mar 3 19:41:03 2008
New Revision: 52103
Modified:
lxml/trunk/ (props changed)
lxml/trunk/src/lxml/readonlytree.pxi
Log:
r3694 at delle: sbehnel | 2008-03-03 08:51:05 +0100
tag fix in read-only tree
Modified: lxml/trunk/src/lxml/readonlytree.pxi
==============================================================================
--- lxml/trunk/src/lxml/readonlytree.pxi (original)
+++ lxml/trunk/src/lxml/readonlytree.pxi Mon Mar 3 19:41:03 2008
@@ -150,7 +150,7 @@
Iterate over the children of this element.
"""
children = self.getchildren()
- if tag is not None:
+ if tag is not None and tag != '*':
children = [ el for el in children if el.tag == tag ]
if reversed:
children = children[::-1]
More information about the lxml-checkins
mailing list