disconnect kill

This commit is contained in:
root 2012-10-25 20:45:15 +02:00
parent 86f94d6e72
commit be4243ba80

View file

@ -225,12 +225,6 @@ class YunoHostLDAP(Singleton):
except ldap.INVALID_CREDENTIALS:
raise YunoHostError(13, _('Invalid credentials'))
def __exit__(self, type, value, traceback):
try:
self.disconnect()
except:
pass
def disconnect(self):
"""
Unbind from LDAP