Project

General

Profile

« Previous | Next » 

Revision 22eeae99

Added by Thomas Noël over 13 years ago

don't crash if ldap is not available (fix #1620)

View differences:

extra/modules/ezldap.py
entry.
'''
import ldap
import ldap.modlist
try:
import ldap
import ldap.modlist
except ImportError:
ldap = None
LDAP_EMAIL = 'courriel'
import time

Also available in: Unified diff