don't warn at load time if krbV module is missing
This commit is contained in:
parent
9508bb164c
commit
b2bfc28c86
1 changed files with 2 additions and 2 deletions
|
|
@ -26,11 +26,11 @@ import sys
|
|||
from six.moves import range
|
||||
from six.moves import zip
|
||||
import six
|
||||
krbV = None
|
||||
try:
|
||||
import krbV
|
||||
except ImportError: # pragma: no cover
|
||||
sys.stderr.write("Warning: Could not install krbV module. Kerberos support will be disabled.\n")
|
||||
sys.stderr.flush()
|
||||
pass
|
||||
import base64
|
||||
import datetime
|
||||
import six.moves.configparser
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue