From 4acecdbe4ef2d2a3fbfa255f2b332e30c9fb62f4 Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Fri, 12 May 2023 09:53:01 +0200 Subject: [PATCH] Make the linter happy --- lib/pp_admintools/app/ldap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pp_admintools/app/ldap.py b/lib/pp_admintools/app/ldap.py index 23dd5f8..d42234d 100644 --- a/lib/pp_admintools/app/ldap.py +++ b/lib/pp_admintools/app/ldap.py @@ -54,7 +54,7 @@ from ..config.ldap import LdapConnectionInfo, LdapConfiguration # rom ..config.ldap import DEFAULT_PORT_LDAP, DEFAULT_PORT_LDAPS from ..config.ldap import DEFAULT_TIMEOUT -__version__ = '0.11.2' +__version__ = '0.11.3' LOG = logging.getLogger(__name__) _ = XLATOR.gettext @@ -817,8 +817,8 @@ class BaseLdapApplication(BaseDPXApplication): msg = ngettext( "Found one entry with filter {fltr!r} in {uri}/{bdn}.", "Found {nr} enries with filter {fltr!r} in {uri}/{bdn}.", - len(result)).format(nr=len(result), uri=connect_info.url, - bdn=base_dn, fltr=ldap_filter) + len(result)).format( + nr=len(result), uri=connect_info.url, bdn=base_dn, fltr=ldap_filter) LOG.debug(msg) if self.verbose > 4: LOG.debug(_("Got response entries:") + '\n' + pp(result)) -- 2.39.5