Commit a2e349de authored by Pavel Spirek's avatar Pavel Spirek

Bugfix: first state root handler sometimes not called

parent c7ff47a9
......@@ -404,7 +404,7 @@ class BaseDatastore:
# Append YANG library data
for member_name, member_val in self._yang_lib_data.value.items():
root = root.put_member(member_name, member_val)
root = root.put_member(member_name, member_val).top()
# Resolve schema node of the desired data node
sch_pth_list = filter(lambda isel: isinstance(isel, MemberName), ii)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment