Python parts of module ldap

Michael Ströder michael at stroeder.com
Sat Dec 15 22:41:06 CET 2001


Joe Little wrote:
> 
> Go one step further and use the try:except: with a variable.. ie, under some
> condition (such as a no_openldap def), do the try:except:.. otherwise,
> normal import

You mean a variable in the module's name space? Hmm, that would have
to be set by the installing routine, DistUtils in our case.

Ciao, Michael.




More information about the python-ldap mailing list