1. Lars Yencken
  2. iterxml

Commits

Lars Yencken  committed 20e27ce

Fixes a typo where tag_of_interest was ignored.

  • Participants
  • Parent commits e6c3296
  • Branches default

Comments (0)

Files changed (1)

File iterxml.py

View file
  • Ignore whitespace
     root = root
 
     for event, node in context:
-        if event == 'end' and node.tag == 'record':
+        if event == 'end' and node.tag == tag_of_interest:
             yield node
             root.clear()