Merge pull request #33 from Firstyear/2016-02-18-python-ldap-id-clean
Add pyldap_version constant to allow ID of ldap implementation.
This commit is contained in:
@@ -22,6 +22,8 @@ if __debug__:
|
||||
import _ldap
|
||||
from _ldap import *
|
||||
|
||||
PYLDAP_VERSION = __version__
|
||||
|
||||
OPT_NAMES_DICT = {}
|
||||
for k,v in vars(_ldap).items():
|
||||
if k.startswith('OPT_'):
|
||||
|
Reference in New Issue
Block a user