Skip to content

Commit

Permalink
apply some more linter fixes jupyterhub#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrice committed Jan 18, 2022
1 parent d81ab19 commit 453201d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ldapauthenticator/ldapauthenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,7 @@ def get_connection(self, userdn, password):
)
else:
server = ldap3.Server(
self.server_address,
port=self.server_port,
use_ssl=False
self.server_address, port=self.server_port, use_ssl=False
)
auto_bind = (
ldap3.AUTO_BIND_NO_TLS if self.use_ssl else ldap3.AUTO_BIND_TLS_BEFORE_BIND
Expand Down

0 comments on commit 453201d

Please sign in to comment.