include missing
This commit is contained in:
parent
de5368e47a
commit
e3b4cda2a6
1 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,9 @@ if __name__ == '__main__':
|
||||||
p = p[part]
|
p = p[part]
|
||||||
p[child] = {}
|
p[child] = {}
|
||||||
else:
|
else:
|
||||||
|
if parent not in tree['missing']:
|
||||||
|
tree['missing'][parent] = {}
|
||||||
|
tree['missing'][parent][child] = {}
|
||||||
print('missing root - %s: %s' % (parent, child))
|
print('missing root - %s: %s' % (parent, child))
|
||||||
|
|
||||||
#print(json.dumps(tree, indent=4, sort_keys=True))
|
#print(json.dumps(tree, indent=4, sort_keys=True))
|
||||||
|
|
Loading…
Reference in a new issue