mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-09 01:44:03 -07:00
VMware: remove unused imports (#43804)
Idea taken from https://github.com/ansible/ansible/pull/43402 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
1decbb92fc
commit
e364d717cb
21 changed files with 15 additions and 58 deletions
|
@ -110,13 +110,6 @@ from ansible.module_utils._text import to_native
|
|||
from ansible.module_utils.vmware import PyVmomi, gather_vm_facts, vmware_argument_spec
|
||||
|
||||
|
||||
try:
|
||||
import pyVmomi
|
||||
from pyVmomi import vim
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
class PyVmomiHelper(PyVmomi):
|
||||
def __init__(self, module):
|
||||
super(PyVmomiHelper, self).__init__(module)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue