Clear taghandler at closing of the tag
issue3348 review1047003
This commit is contained in:
1 parent
29a2f28d8f
commit
10804d97cf
1 file changed
+2
@@ -467,6 +467,8 @@ class TrytondXmlHandler(sax.handler.ContentHandler):
|
||||
# know what to do:
|
||||
if self.taghandler and not self.skip_data:
|
||||
self.taghandler = self.taghandler.endElement(name)
|
||||
if self.taghandler == self.taghandlerlist.get(name):
|
||||
self.taghandler = None
|
||||
|
||||
def current_state(self):
|
||||
if self.taghandler:
|
||||
|
||||
Reference in new issue
Block a user