From 9bf5c995de2c4b929ab85c101f9d2e73d3cfe460 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 6 Sep 2021 18:17:46 +0200 Subject: [PATCH] Fixing lib/cr_tf/handler.py --- lib/cr_tf/handler.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 -- 2.39.5