include missing

This commit is contained in:
j 2018-05-31 21:37:16 +02:00
parent de5368e47a
commit e3b4cda2a6

View file

@ -51,6 +51,9 @@ if __name__ == '__main__':
p = p[part]
p[child] = {}
else:
if parent not in tree['missing']:
tree['missing'][parent] = {}
tree['missing'][parent][child] = {}
print('missing root - %s: %s' % (parent, child))
#print(json.dumps(tree, indent=4, sort_keys=True))