make pep8 happy
This commit is contained in:
parent
29e2647ad5
commit
bb2aa112c3
3 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@ from lib.nodes import build_mac_table
|
|||
|
||||
def import_vis_data(graph, nodes, vis_data):
|
||||
macs = build_mac_table(nodes)
|
||||
nodes_a = map(lambda d: 2*[d['primary']],
|
||||
nodes_a = map(lambda d: 2 * [d['primary']],
|
||||
filter(lambda d: 'primary' in d, vis_data))
|
||||
nodes_b = map(lambda d: [d['secondary'], d['of']],
|
||||
filter(lambda d: 'secondary' in d, vis_data))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue