Commit 34160094 authored by Vincent Pelletier's avatar Vincent Pelletier

fixup! ERP5Type: make XMLMatrix a mixin

parent fe1e2f5c
from xml.etree.ElementTree import iterparse, Element, TreeBuilder, XMLParser from xml.etree.ElementTree import iterparse, Element, TreeBuilder, XMLParser
from .XMLMatrix import INFINITE_SET from .mixin.matrix import INFINITE_SET
class RestrictedElement(Element): class RestrictedElement(Element):
__allow_access_to_unprotected_subobjects__ = 1 __allow_access_to_unprotected_subobjects__ = 1
...@@ -79,4 +79,4 @@ def parseStream(stream, child_discard_set, callback_dict, catchall=None): ...@@ -79,4 +79,4 @@ def parseStream(stream, child_discard_set, callback_dict, catchall=None):
), ),
), ),
): ):
callback_dict.get((event, elem.tag), catchall)(elem) callback_dict.get((event, elem.tag), catchall)(elem)
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment