From 15be0e91e880293aa416c58cdfb755cf50b068c3 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 16 Aug 2017 14:32:11 -0700 Subject: [PATCH] Fix PEP 8 issues. --- lib/ansible/modules/cloud/openstack/os_router.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/ansible/modules/cloud/openstack/os_router.py b/lib/ansible/modules/cloud/openstack/os_router.py index d27f40af77..031866f95d 100644 --- a/lib/ansible/modules/cloud/openstack/os_router.py +++ b/lib/ansible/modules/cloud/openstack/os_router.py @@ -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. """