Only dispkay failure to use cryptography at a higher verbosity
Fixes #17982
This commit is contained in:
parent
6be09ee866
commit
bf3d546d9a
1 changed files with 2 additions and 2 deletions
|
@ -83,9 +83,9 @@ try:
|
||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
display.warning("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'")
|
display.vvvv("Optional dependency 'cryptography' raised an exception, falling back to 'Crypto'.")
|
||||||
import traceback
|
import traceback
|
||||||
display.debug("Traceback from import of cryptography was {0}".format(traceback.format_exc()))
|
display.vvvv("Traceback from import of cryptography was {0}".format(traceback.format_exc()))
|
||||||
|
|
||||||
HAS_ANY_PBKDF2HMAC = HAS_PBKDF2 or HAS_PBKDF2HMAC
|
HAS_ANY_PBKDF2HMAC = HAS_PBKDF2 or HAS_PBKDF2HMAC
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue