mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
disconnect kill
This commit is contained in:
parent
86f94d6e72
commit
be4243ba80
1 changed files with 0 additions and 6 deletions
|
@ -225,12 +225,6 @@ class YunoHostLDAP(Singleton):
|
||||||
except ldap.INVALID_CREDENTIALS:
|
except ldap.INVALID_CREDENTIALS:
|
||||||
raise YunoHostError(13, _('Invalid credentials'))
|
raise YunoHostError(13, _('Invalid credentials'))
|
||||||
|
|
||||||
def __exit__(self, type, value, traceback):
|
|
||||||
try:
|
|
||||||
self.disconnect()
|
|
||||||
except:
|
|
||||||
pass
|
|
||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
"""
|
"""
|
||||||
Unbind from LDAP
|
Unbind from LDAP
|
||||||
|
|
Loading…
Reference in a new issue