From: Frank Brehm Date: Thu, 23 May 2024 13:39:53 +0000 (+0200) Subject: Applying flake8 rules X-Git-Tag: 1.9.1^2~17 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=cd7cfcd10636567443e0661848dc5ffa74adfd87;p=pixelpark%2Fcreate-terraform.git Applying flake8 rules --- 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):