]> Frank Brehm's Git Trees - pixelpark/create-terraform.git/commitdiff
Bugfixing lib/cr_tf/config.py
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 1 Oct 2019 08:24:51 +0000 (10:24 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 1 Oct 2019 08:24:51 +0000 (10:24 +0200)
lib/cr_tf/config.py

index 0ff942cbaeee185ecc576c763caafc2fc7fd26c6..cef748d0dcee1691af1ed13f810843e37a4ed0db 100644 (file)
@@ -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():