From 34d08adea06d750945740dbd15711bbbfe68173f Mon Sep 17 00:00:00 2001 From: Tim Rupp Date: Thu, 13 Sep 2018 13:45:55 -0400 Subject: [PATCH] Fixes lgtm alert (#45619) Alert was for an include that was not used. https://lgtm.com/projects/g/ansible/ansible/latest/files/lib/ansible/modules/network/f5/_bigip_facts.py?sort=name&dir=ASC&mode=heatmap&showExcluded=false#L98 --- lib/ansible/modules/network/f5/_bigip_facts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/network/f5/_bigip_facts.py b/lib/ansible/modules/network/f5/_bigip_facts.py index e8fb4b9a45..aa42fd5d00 100644 --- a/lib/ansible/modules/network/f5/_bigip_facts.py +++ b/lib/ansible/modules/network/f5/_bigip_facts.py @@ -30,8 +30,6 @@ notes: - Tested with manager and above account privilege level - C(provision) facts were added in 2.2 - This module is deprecated. Use the C(bigip_device_facts) module instead. -requirements: - - bigsuds deprecated: removed_in: '2.11' alternative: bigip_device_facts @@ -39,6 +37,8 @@ deprecated: The bigip_facts module relies on SOAP to communicate with the BIG-IP, and has a large amount of code that does not conform to existing F5 standards. The M(bigip_device_facts) module is easier to maintain and use. +requirements: + - bigsuds options: session: description: @@ -95,7 +95,7 @@ import traceback from ansible.module_utils.basic import AnsibleModule from ansible.module_utils.six import string_types -from ansible.module_utils.six.moves import map, zip +from ansible.module_utils.six.moves import zip try: from library.module_utils.network.f5.legacy import bigip_api, bigsuds_found