Python parts of module ldap
Jacek Konieczny
jajcus at bnet.pl
Sat Dec 15 21:18:38 CET 2001
On Sat, Dec 15, 2001 at 09:03:44PM +0100, Michael Ströder wrote:
> After checking in some of my modules below Lib/ldap/ I noticed a
> serious drawback:
> All modules are dependent on availability of OpenLDAP 2 libs if
> located under Lib/ldap/ because of the "from _ldap import *" done in
> Lib/ldap/__init__.py.
>
[...]
>
> Any opinions?
Maybe you could put "from _ldap import *" in some "try:/except:" block.
Greets,
Jacek
More information about the python-ldap
mailing list