Run pep8 tox against the correct path
We're currently pointing the old stubs and not the actual code. This allowed a pep8 error in, so this fixes it and points tox.ini to the correct place. Change-Id: Iebd339ccf7a50ee0b45cf7b739d889db7da93f0a
This commit is contained in:
parent
f8fa1df56d
commit
fbfd8eae6b
|
@ -100,8 +100,8 @@ class Ml2Plugin(plugin.Ml2Plugin):
|
|||
query = query.filter(models_v2.Port.device_owner == owner)
|
||||
|
||||
for mac_address, network_id, ip in query:
|
||||
if (netaddr.IPAddress(ip).version == 6
|
||||
and not netaddr.IPAddress(ip).is_link_local()):
|
||||
if (netaddr.IPAddress(ip).version == 6 and not
|
||||
netaddr.IPAddress(ip).is_link_local()):
|
||||
|
||||
ip = str(netaddr.EUI(mac_address).ipv6_link_local())
|
||||
if ip not in ips[network_id]:
|
||||
|
|
Loading…
Reference in New Issue