Browse Source

Merge pull request #33 from Firstyear/2016-02-18-python-ldap-id-clean

Add pyldap_version constant to allow ID of ldap implementation.
master
Raphaël Barrois 6 years ago
parent
commit
d572d1c5ed
  1. 2
      Lib/ldap/__init__.py

2
Lib/ldap/__init__.py

@ -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_'):

Loading…
Cancel
Save