Try to import kerberos now, not waiting ofr demandimport. Fixes #6975

This commit is contained in:
Yann Leboulanger 2011-09-13 08:46:47 +02:00
parent a20d8bd446
commit 2991581e94
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ def H(some): return hashlib.md5(some).digest()
def C(some): return ':'.join(some)
try:
import kerberos
kerberos = __import__('kerberos')
have_kerberos = True
except ImportError:
have_kerberos = False