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:
Adam Gandelman 2016-01-25 16:03:34 -08:00
parent f8fa1df56d
commit fbfd8eae6b
2 changed files with 3 additions and 3 deletions

View File

@ -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]:

View File

@ -13,7 +13,7 @@ sitepackages = False
[testenv:style]
deps = flake8
setuptools_git>=0.4
commands = flake8 akanda setup.py
commands = flake8 astara_neutron setup.py
[testenv:pep8]
deps = {[testenv:style]deps}