From: Frank Brehm Date: Tue, 12 Jul 2022 11:28:36 +0000 (+0200) Subject: Fixing module pp_admintools.ldap_config X-Git-Tag: 0.4.2^2~5^2 X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=93d384ff98c8b2a458b2647b7c7db5cffad3d4d5;p=pixelpark%2Fpp-admin-tools.git Fixing module pp_admintools.ldap_config --- diff --git a/lib/pp_admintools/ldap_config.py b/lib/pp_admintools/ldap_config.py index 810fb08..583be29 100644 --- a/lib/pp_admintools/ldap_config.py +++ b/lib/pp_admintools/ldap_config.py @@ -30,7 +30,7 @@ from . import MAX_PORT_NUMBER, DEFAULT_CONFIG_DIR from .xlate import XLATOR -__version__ = '0.2.3' +__version__ = '0.2.4' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -347,7 +347,7 @@ class LdapConfiguration(BaseMultiConfig): if sn == 'ldap': for key in section.keys(): sub = section[key] - if key.lower.strip() == 'timeout': + if key.lower().strip() == 'timeout': self._eval_ldap_timeout(sub) continue self._eval_ldap_connection(key, sub)