projects
/
ncclient
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix typo in ele2dtree
[ncclient]
/
ncclient
/
content.py
diff --git
a/ncclient/content.py
b/ncclient/content.py
index
e9baec8
..
9186629
100644
(file)
--- a/
ncclient/content.py
+++ b/
ncclient/content.py
@@
-115,7
+115,7
@@
class Element:
'attributes': ele.attrib,
'text': ele.text,
'tail': ele.tail,
- 'subtree': [ Element.DictTree(child) for child in root.getchildren() ]
+ 'subtree': [ Element.DictTree(child) for child in ele.getchildren() ]
}
@staticmethod