Fix PEP 8 issues.

pull/28189/merge
Matt Clay 7 years ago
parent 46b80bc18e
commit 15be0e91e8

@ -186,11 +186,13 @@ ROUTER_INTERFACE_OWNERS = set([
'network:ha_router_replicated_interface'
])
def _router_internal_interfaces(cloud, router):
for port in cloud.list_router_interfaces(router, 'internal'):
if port['device_owner'] in ROUTER_INTERFACE_OWNERS:
yield port
def _needs_update(cloud, module, router, network, internal_subnet_ids):
"""Decide if the given router needs an update.
"""

Loading…
Cancel
Save