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

Merge branch 'develop' into feature/use-cached-subnets

parents 5374ec9c 74f66ebf
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