]> Frank Brehm's Git Trees - pixelpark/pp-admin-tools.git/commitdiff
Cosmetic changes
authorFrank Brehm <frank.brehm@pixelpark.com>
Fri, 23 Sep 2022 14:13:29 +0000 (16:13 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Fri, 23 Sep 2022 14:13:29 +0000 (16:13 +0200)
lib/pp_admintools/app/ldap.py

index de17caf3a6ab67d081388b6c908ec274f93a94cd..1a13515d7a5c70e6afcfa6151392358a4a425808 100644 (file)
@@ -50,7 +50,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.7.1'
+__version__ = '0.7.2'
 LOG = logging.getLogger(__name__)
 
 _ = XLATOR.gettext
@@ -886,7 +886,7 @@ class BaseLdapApplication(BaseDPXApplication):
             if self.verbose > 3:
                 msg = _("User with DN {dn!r} not found in {uri}.").format(
                     dn=dn, uri=connect_info.url)
-            LOG.debug(msg)
+                LOG.debug(msg)
             return None
 
         found_dn = entry['dn']
@@ -948,7 +948,7 @@ class BaseLdapApplication(BaseDPXApplication):
                 LOG.debug(msg + ' ' + pp(req_result))
             result = req_response[0]
             if self.verbose > 3:
-                LOG.debug(_("Got a response entry:") + ' ' + pp(result))
+                LOG.debug(_("Got a response entry:") + '\n' + pp(result))
 
         else:
             if self.verbose > 3: