Skip to content
Snippets Groups Projects
Commit 74f66ebf authored by Erik Reid's avatar Erik Reid
Browse files

add extra (unnecessary) parameters to cached data

parent 8a245c98
No related branches found
No related tags found
No related merge requests found
......@@ -554,10 +554,7 @@ def _build_subnet_db(update_callback=lambda s: None):
info = r.get(k.decode('utf-8')).decode('utf-8')
info = json.loads(info)
entry = subnets.setdefault(info['interface address'], [])
entry.append({
'interface name': info['interface name'],
'router': info['router']
})
entry.append(info)
update_callback('saving {} subnets'.format(len(subnets)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment