From: Frank Brehm Date: Fri, 12 May 2023 07:53:01 +0000 (+0200) Subject: Make the linter happy X-Git-Tag: 0.9.0~1^2~54 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=4acecdbe4ef2d2a3fbfa255f2b332e30c9fb62f4;p=pixelpark%2Fpp-admin-tools.git Make the linter happy --- 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))