From cd7cfcd10636567443e0661848dc5ffa74adfd87 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Thu, 23 May 2024 15:39:53 +0200 Subject: [PATCH] Applying flake8 rules --- lib/create_terraform/handler/vmware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/create_terraform/handler/vmware.py b/lib/create_terraform/handler/vmware.py index b648641..1fbe316 100644 --- a/lib/create_terraform/handler/vmware.py +++ b/lib/create_terraform/handler/vmware.py @@ -614,7 +614,6 @@ class CrTfHandlerVmwMixin(): if self.verbose: print() vsphere_name = vm.vsphere - vsphere = self.vsphere[vsphere_name] existing_vm = None @@ -912,7 +911,8 @@ class CrTfHandlerVmwMixin(): for iface in vm.interfaces: i += 1 self._validate_interface_of_vm( - vm_name=vm.name, iface=iface, vsphere_name=vsphere_name, vm_cluster=vm_cluster, i=i) + vm_name=vm.name, iface=iface, vsphere_name=vsphere_name, + vm_cluster=vm_cluster, i=i) # -------------------------------------------------------------------------· def _validate_interface_of_vm(self, vm_name, iface, vsphere_name, vm_cluster, i=0): -- 2.39.5