diff --git a/hooks/neutron_api_utils.py b/hooks/neutron_api_utils.py index f452ce7d..f4d854ae 100755 --- a/hooks/neutron_api_utils.py +++ b/hooks/neutron_api_utils.py @@ -807,7 +807,7 @@ def migrate_neutron_database(upgrade=False): return log('Migrating the neutron database.') - if(os_release('neutron-server') == 'juno' and + if (os_release('neutron-server') == 'juno' and config('neutron-plugin') == 'vsp'): nuage_vsp_juno_neutron_migration() else: diff --git a/tox.ini b/tox.ini index 57c2f4ec..0a594c83 100644 --- a/tox.ini +++ b/tox.ini @@ -65,7 +65,7 @@ deps = [testenv:pep8] basepython = python3 -deps = flake8==3.9.2 +deps = flake8==7.1.1 git+https://github.com/juju/charm-tools.git commands = flake8 {posargs} hooks unit_tests tests actions lib files charm-proof