]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Fixing lib/cr_vmware_tpl/config.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Wed, 21 Mar 2018 10:36:12 +0000 (11:36 +0100)
committerFrank Brehm <frank.brehm@pixelpark.com>
Wed, 21 Mar 2018 10:36:12 +0000 (11:36 +0100)
lib/cr_vmware_tpl/config.py

index 0e3b4445030dbb7b10d55326097e6db20a98f92c..b89c9cc6c2ec4dcc92cd6c45799da26646b40b30 100644 (file)
@@ -26,7 +26,7 @@ from .errors import FunctionNotImplementedError, PpError
 
 from .obj import PpBaseObject
 
-__version__ = '0.2.2'
+__version__ = '0.2.3'
 LOG = logging.getLogger(__name__)
 
 
@@ -150,7 +150,7 @@ class CrTplConfiguration(PpBaseObject):
             if self.verbose > 2:
                 LOG.debug("Options of section {!r} ...".format(section))
 
-            if section.lower() == 'default' or if section.lower() == 'global':
+            if section.lower() == 'default' or section.lower() == 'global':
 
                 for (key, value) in config.items(section):