Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52ba3c2 commit 97d8729Copy full SHA for 97d8729
1 file changed
lib/core/option.py
@@ -329,13 +329,13 @@ def __contains__(self, name):
329
if retVal is None:
330
retVal = DictObject()
331
332
- for node in node.findall("./"):
+ for child in node.findall("./"):
333
instance = DictObject()
334
- retVal.__dict__[node.tag] = instance
335
- if node.attrib:
336
- instance.__dict__.update(node.attrib)
+ retVal.__dict__[child.tag] = instance
+ if child.attrib:
+ instance.__dict__.update(child.attrib)
337
else:
338
- iterate(node, instance)
+ iterate(child, instance)
339
340
return retVal
341
0 commit comments