From: Frank Brehm Date: Mon, 6 Sep 2021 16:17:46 +0000 (+0200) Subject: Fixing lib/cr_tf/handler.py X-Git-Tag: 1.5.2^2~12 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9bf5c995de2c4b929ab85c101f9d2e73d3cfe460;p=pixelpark%2Fcreate-terraform.git Fixing lib/cr_tf/handler.py --- diff --git a/lib/cr_tf/handler.py b/lib/cr_tf/handler.py index ea51bcc..21f3a65 100644 --- a/lib/cr_tf/handler.py +++ b/lib/cr_tf/handler.py @@ -67,7 +67,7 @@ from .terraform.disk import TerraformDisk from .xlate import XLATOR -__version__ = '3.5.5' +__version__ = '3.5.6' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -517,7 +517,7 @@ class CreateTerraformHandler(BaseHandler): except AbortExecution as e: LOG.warn(str(e)) - return false + return False # ------------------------------------------------------------------------- def __call__(self, yaml_file): @@ -754,10 +754,6 @@ class CreateTerraformHandler(BaseHandler): # -------------------------------------------------------------------------· def _init_vspheres(self): - if self.verbose > 1: - msg = _("Found vSphere configurations:") + '\n' + pp(self.config.vsphere) - LOG.debug(msg) - for vm in self.vms: if vm.vsphere in self.vsphere: continue