Changeset 2817:abcd60fcdf6a in livinglogic.python.xist

Show
Ignore:
Timestamp:
07/30/07 16:02:12 (12 years ago)
Author:
Walter Doerwald <walter@…>
Branch:
default
Message:

Change _children_of_type() so that it works with Frags too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/ll/xist/xfind.py

    r2815 r2817  
    12641264 
    12651265def _children_of_type(node, type): 
    1266     for child in node.content: 
     1266    for child in node: 
    12671267        if isinstance(child, xsc.Element) and child.xmlname == type: 
    12681268            yield child