# HG changeset patch # User laurent # Date 1337359867 -7200 # Node ID 13dee9322beb715b3a01f218534af84920ad1998 # Parent b0b7bd288b6e497d8d43dcafebec24fa0ce4d980 refactoring diff -r b0b7bd288b6e -r 13dee9322beb etherlab/etherlab.py --- a/etherlab/etherlab.py Mon May 14 07:43:40 2012 +0900 +++ b/etherlab/etherlab.py Fri May 18 18:51:07 2012 +0200 @@ -338,7 +338,7 @@ for child in tree.childNodes: if child.nodeType == tree.ELEMENT_NODE and child.nodeName == "EtherCATConfig": - self.Config.loadXMLTree(child, ["xmlns:xsi", "xsi:noNamespaceSchemaLocation"]) + self.Config.loadXMLTree(child) self.CreateConfigBuffer(True) else: self.CreateConfigBuffer(False) @@ -1366,7 +1366,7 @@ for child in xml_tree.childNodes: if child.nodeType == xml_tree.ELEMENT_NODE and child.nodeName == "EtherCATInfo": modules_infos = EtherCATInfoClasses["EtherCATInfo.xsd"]["EtherCATInfo"]() - modules_infos.loadXMLTree(child, ["xmlns:xsi", "xsi:noNamespaceSchemaLocation"]) + modules_infos.loadXMLTree(child) if modules_infos is not None: vendor = modules_infos.getVendor()