From 83b7ec69fcf8b85ca540c24a16849fa7c2b8da93 Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Fri, 12 Jan 2018 02:26:14 +0100 Subject: [PATCH] Fix pylint issue (#34773) --- lib/ansible/modules/network/aci/aci_aep.py | 6 ++---- test/sanity/pylint/ignore.txt | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/ansible/modules/network/aci/aci_aep.py b/lib/ansible/modules/network/aci/aci_aep.py index 8608d6c3b8..34bb205303 100644 --- a/lib/ansible/modules/network/aci/aci_aep.py +++ b/lib/ansible/modules/network/aci/aci_aep.py @@ -21,8 +21,6 @@ description: I(infra:AttEntityP) at U(https://developer.cisco.com/media/mim-ref/MO-infraAttEntityP.html). author: - Swetha Chunduri (@schunduri) -- Dag Wieers (@dagwieers) -- Jacob McGill (@jmcgill298) version_added: '2.4' requirements: - ACI Fabric 1.0(3f)+ @@ -111,8 +109,8 @@ def main(): aci.construct_url( root_class=dict( aci_class='infraAttEntityP', - aci_rn='infra/attentp-{}'.format(aep), - filter_target='eq(infraAttEntityP.name, "{}")'.format(aep), + aci_rn='infra/attentp-{0}'.format(aep), + filter_target='eq(infraAttEntityP.name, "{0}")'.format(aep), module_object=aep, ), ) diff --git a/test/sanity/pylint/ignore.txt b/test/sanity/pylint/ignore.txt index 7a17321237..fe3a31ac6a 100644 --- a/test/sanity/pylint/ignore.txt +++ b/test/sanity/pylint/ignore.txt @@ -37,7 +37,6 @@ lib/ansible/modules/monitoring/grafana_plugin.py ansible-format-automatic-specif lib/ansible/modules/net_tools/dnsmadeeasy.py ansible-format-automatic-specification lib/ansible/modules/net_tools/ipinfoio_facts.py ansible-format-automatic-specification lib/ansible/modules/network/a10/a10_server_axapi3.py ansible-format-automatic-specification -lib/ansible/modules/network/aci/aci_aep.py ansible-format-automatic-specification lib/ansible/modules/network/aci/aci_ap.py ansible-format-automatic-specification lib/ansible/modules/network/aci/aci_bd.py ansible-format-automatic-specification lib/ansible/modules/network/aci/aci_bd_subnet.py ansible-format-automatic-specification