diff options
author | Dag Wieers <dag@wieers.com> | 2018-01-12 02:26:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 02:26:14 +0100 |
commit | 83b7ec69fcf8b85ca540c24a16849fa7c2b8da93 (patch) | |
tree | 10979efafabaf0ffda3b39b5becd3da26c04d879 | |
parent | 03dd3214b466c7135e253a84c3e6f74f505e39f8 (diff) | |
download | ansible-83b7ec69fcf8b85ca540c24a16849fa7c2b8da93.tar.gz |
Fix pylint issue (#34773)
-rw-r--r-- | lib/ansible/modules/network/aci/aci_aep.py | 6 | ||||
-rw-r--r-- | 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 |