From: Frank Brehm Date: Wed, 21 Mar 2018 10:36:12 +0000 (+0100) Subject: Fixing lib/cr_vmware_tpl/config.py X-Git-Tag: 0.1.1~102 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=a180d612f44e24ff486a688c887dffad3125278e;p=pixelpark%2Fcreate-vmware-tpl.git Fixing lib/cr_vmware_tpl/config.py --- diff --git a/lib/cr_vmware_tpl/config.py b/lib/cr_vmware_tpl/config.py index 0e3b444..b89c9cc 100644 --- a/lib/cr_vmware_tpl/config.py +++ b/lib/cr_vmware_tpl/config.py @@ -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):