Add isCryptographyValid() docstring

This commit is contained in:
mtu 2017-02-07 11:02:10 +01:00
parent e758a218ea
commit 7c5bcf3a92
1 changed files with 4 additions and 0 deletions

View File

@ -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: