]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Fixing lib/cr_tf/app.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 10:03:57 +0000 (12:03 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 3 Sep 2021 10:03:57 +0000 (12:03 +0200)
lib/cr_tf/app.py

index 5ffa6be15205d6eaa66c26b9539f5c1416dd0128..a0bf26465c5d70226d1a57a18558d52ba7aa107e 100644 (file)
@@ -45,7 +45,7 @@ from .xlate import __base_dir__ as __xlate_base_dir__
 from .xlate import __mo_file__ as __xlate_mo_file__
 from .xlate import XLATOR, LOCALE_DIR, DOMAIN
 
-__version__ = '1.1.1'
+__version__ = '1.1.2'
 LOG = logging.getLogger(__name__)
 
 SIGNAL_NAMES = {
@@ -249,7 +249,7 @@ class CrTfApplication(BaseApplication):
 
         if self.config.puppet_envs_delete:
             LOG.debug(_("Removing allowed puppet environments ..."))
-            for env in self.puppet_envs_delete.puppet_envs_add:
+            for env in self.config.puppet_envs_delete:
                 if env in TerraformVm.valid_puppet_environments:
                     if self.verbose > 1:
                         LOG.debug(_("Removing puppet environment {!r} ...").format(env))