Commit cbda4010 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[Python 3] fix xml API use

parent 133d4117
......@@ -142,7 +142,7 @@ class AbstractRobot(ABC):
for e in root.iter('joint'):
if 'name' in e.attrib:
name = e.attrib['name']
for c in e._children:
for c in e:
if hasattr(c, 'tag') and c.tag == 'mimic':
mimicJoints.append(name)
self.removeJoints(mimicJoints)
......
Supports Markdown
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