]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Make the linter happy
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 May 2023 07:53:01 +0000 (09:53 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 12 May 2023 07:53:01 +0000 (09:53 +0200)
lib/pp_admintools/app/ldap.py

index 23dd5f8de9cab903fc4edbd2ed067fbb93a84305..d42234d932653761ec1efa9cedc90baff6b51686 100644 (file)
@@ -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))