From caea50ba4d9c028c860c1b488b8b20a1f30965d8 Mon Sep 17 00:00:00 2001 From: Charles Paul Date: Thu, 10 Dec 2015 15:42:49 -0500 Subject: [PATCH] pep8 whitespace --- lib/ansible/modules/extras/cloud/vmware/vmware_vm_shell.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/modules/extras/cloud/vmware/vmware_vm_shell.py b/lib/ansible/modules/extras/cloud/vmware/vmware_vm_shell.py index bee7c09d4d3..6c81d612f77 100644 --- a/lib/ansible/modules/extras/cloud/vmware/vmware_vm_shell.py +++ b/lib/ansible/modules/extras/cloud/vmware/vmware_vm_shell.py @@ -135,9 +135,9 @@ def find_vm(content, vm_id, vm_id_type="dns_name", datacenter=None): elif vm_id_type == 'uuid': vm = si.FindByUuid(datacenter=datacenter, uuid=vm_id, vmSearch=True) elif vm_id_type == 'vm_name': - for machine in get_all_objs(content, [vim.VirtualMachine]): - if machine.name == vm_id: - vm = machine + for machine in get_all_objs(content, [vim.VirtualMachine]): + if machine.name == vm_id: + vm = machine return vm