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:
commit
d572d1c5ed
|
@ -22,6 +22,8 @@ if __debug__:
|
||||||
import _ldap
|
import _ldap
|
||||||
from _ldap import *
|
from _ldap import *
|
||||||
|
|
||||||
|
PYLDAP_VERSION = __version__
|
||||||
|
|
||||||
OPT_NAMES_DICT = {}
|
OPT_NAMES_DICT = {}
|
||||||
for k,v in vars(_ldap).items():
|
for k,v in vars(_ldap).items():
|
||||||
if k.startswith('OPT_'):
|
if k.startswith('OPT_'):
|
||||||
|
|
Loading…
Reference in New Issue