add instructions for installing m2crypto
This commit is contained in:
@ -61,7 +61,8 @@ def init_table(key, method=None):
|
|||||||
__import__('M2Crypto')
|
__import__('M2Crypto')
|
||||||
except ImportError:
|
except ImportError:
|
||||||
logging.error('M2Crypto is required to use encryption other than '
|
logging.error('M2Crypto is required to use encryption other than '
|
||||||
'default method')
|
'default method, please run `apt-get install '
|
||||||
|
'python-m2crypto`')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if not method:
|
if not method:
|
||||||
if key in cached_tables:
|
if key in cached_tables:
|
||||||
|
Reference in New Issue
Block a user