From: Frank Brehm Date: Tue, 1 Oct 2019 08:24:51 +0000 (+0200) Subject: Bugfixing lib/cr_tf/config.py X-Git-Tag: 1.3.4~38 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=98675335f47a88621a789f2a3a1872bd44e36d04;p=pixelpark%2Fcreate-terraform.git Bugfixing lib/cr_tf/config.py --- diff --git a/lib/cr_tf/config.py b/lib/cr_tf/config.py index 0ff942c..cef748d 100644 --- a/lib/cr_tf/config.py +++ b/lib/cr_tf/config.py @@ -23,7 +23,7 @@ from fb_tools.obj import FbBaseObject from fb_tools.config import BaseConfiguration -from fb_tools.common import to_bool, RE_FQDN, is_sequence +from fb_tools.common import to_bool, RE_FQDN, is_sequence, pp from fb_tools.pdns import DEFAULT_PORT as DEFAULT_PDNS_API_PORT from fb_tools.pdns import DEFAULT_TIMEOUT as DEFAULT_PDNS_API_TIMEOUT # noqa @@ -34,7 +34,7 @@ from .errors import CrTfConfigError from .xlate import XLATOR -__version__ = '1.3.1' +__version__ = '1.3.2' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -820,7 +820,7 @@ class CrTfConfiguration(BaseConfiguration): elif key.lower() == 'port': params['port'] = value elif key.lower() == 'user' and value.strip(): - params['port'] = value.strip() + params['user'] = value.strip() elif key.lower() == 'password': params['password'] = value elif key.lower() == 'dc' and value.strip():