Skip to content
Snippets Groups Projects
Commit 7c5bcf3a authored by mtu's avatar mtu
Browse files

Add isCryptographyValid() docstring

parent e758a218
No related branches found
No related tags found
No related merge requests found
......@@ -280,6 +280,10 @@ class LogLevel(object):
def isCryptographyValid():
"""
Check if the cryptography library is present, and if it is recent enough
(v1.7 or later).
"""
try:
import cryptography
except ImportError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment