Skip to content

Commit

Permalink
PR #66 from VNuhaan/master elem.clear() i.s.o. root.clear() to pass a…
Browse files Browse the repository at this point in the history
…ll objects

Bedankt @VNuhaan . Updating xmlelementreader.py.
  • Loading branch information
justb4 committed Jan 24, 2018
2 parents 07dc49b + ceca52f commit 4fab049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stetl/filters/xmlelementreader.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def process_xml(self, packet):

# Clear the root element, since iterparse still builds a tree
# See http://effbot.org/zone/element-iterparse.htm
self.root.clear()
elem.clear()

# If there is a next component, let it process
if self.next:
Expand Down

0 comments on commit 4fab049

Please sign in to comment.