From 98675335f47a88621a789f2a3a1872bd44e36d04 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Tue, 1 Oct 2019 10:24:51 +0200 Subject: [PATCH] Bugfixing lib/cr_tf/config.py --- lib/cr_tf/config.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(): -- 2.39.5