Try to import kerberos now, not waiting ofr demandimport. Fixes #6975
This commit is contained in:
parent
a20d8bd446
commit
2991581e94
|
@ -42,7 +42,7 @@ def H(some): return hashlib.md5(some).digest()
|
||||||
def C(some): return ':'.join(some)
|
def C(some): return ':'.join(some)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import kerberos
|
kerberos = __import__('kerberos')
|
||||||
have_kerberos = True
|
have_kerberos = True
|
||||||
except ImportError:
|
except ImportError:
|
||||||
have_kerberos = False
|
have_kerberos = False
|
||||||
|
|
Loading…
Reference in New Issue