Browse Source

Merge "Remove pycodestyle from the dependency" into stable/train

changes/05/738405/1
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
4492ff38b4
3 changed files with 9 additions and 10 deletions
  1. +8
    -8
      networking_ovn/octavia/ovn_driver.py
  2. +0
    -1
      test-requirements.txt
  3. +1
    -1
      tox.ini

+ 8
- 8
networking_ovn/octavia/ovn_driver.py View File

@@ -1552,9 +1552,9 @@ class OvnProviderHelper(object):
pool_listeners = self._get_pool_listeners(ovn_lb,
pool_key)
listener_status = []
for l in pool_listeners:
for listener in pool_listeners:
listener_status.append(
{'id': l,
{'id': listener,
'provisioning_status': constants.ACTIVE})
status['listeners'] = listener_status
except Exception:
@@ -1618,9 +1618,9 @@ class OvnProviderHelper(object):
"provisioning_status": constants.ACTIVE}]}
pool_listeners = self._get_pool_listeners(ovn_lb, pool_key)
listener_status = []
for l in pool_listeners:
for listener in pool_listeners:
listener_status.append(
{'id': l,
{'id': listener,
'provisioning_status': constants.ACTIVE})
status['listeners'] = listener_status
except Exception:
@@ -1689,9 +1689,9 @@ class OvnProviderHelper(object):
"provisioning_status": constants.ACTIVE}]}
pool_listeners = self._get_pool_listeners(ovn_lb, pool_key)
listener_status = []
for l in pool_listeners:
for listener in pool_listeners:
listener_status.append(
{'id': l,
{'id': listener,
'provisioning_status': constants.ACTIVE})
status['listeners'] = listener_status
except Exception:
@@ -1748,9 +1748,9 @@ class OvnProviderHelper(object):

pool_listeners = self._get_pool_listeners(ovn_lb, pool_key)
listener_status = []
for l in pool_listeners:
for listener in pool_listeners:
listener_status.append(
{'id': l,
{'id': listener,
'provisioning_status': constants.ACTIVE})
status['listeners'] = listener_status
except Exception:


+ 0
- 1
test-requirements.txt View File

@@ -7,7 +7,6 @@ hacking>=1.1.0 # Apache-2.0
bandit!=1.6.0,>=1.1.0 # Apache-2.0
coverage!=4.4,>=4.0 # Apache-2.0
flake8-import-order==0.12 # LGPLv3
pycodestyle>=2.0.0,<2.6.0 # MIT
python-subunit>=1.0.0 # Apache-2.0/BSD
oslotest>=3.2.0 # Apache-2.0
os-testr>=1.0.0 # Apache-2.0


+ 1
- 1
tox.ini View File

@@ -149,7 +149,7 @@ ignore = E123,E126,E128,E731,H405,N530,W504
# H904: Delay string interpolations at logging calls
enable-extensions=H106,H203,H204,H205,H904
show-source = True
exclude=./.*,dist,doc,*egg*,build,releasenotes
exclude=./.*,dist,doc,*egg*,build,releasenotes,networking_ovn/tests
import-order-style = pep8

[hacking]


Loading…
Cancel
Save