Fix pylint warning
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Benjamin Renard 2022-12-17 00:48:55 +01:00
parent c7fc39c77c
commit 81736714a1

View file

@ -96,7 +96,7 @@ class MyLdapClient(LdapClient):
# pylint: disable=super-init-not-called # pylint: disable=super-init-not-called
def __init__(self, scripts_options): def __init__(self, scripts_options):
self.options = scripts_options self.options = scripts_options
logging.info(u"Connect to LDAP server %s", self.options.host) logging.info("Connect to LDAP server %s", self.options.host)
self.cnx = LdapServer( self.cnx = LdapServer(
self.options.host, dn=self.options.dn, pwd=self.options.pwd, self.options.host, dn=self.options.dn, pwd=self.options.pwd,
v2=self.options.ldapv2) v2=self.options.ldapv2)