more details
This commit is contained in:
parent
e7e226768a
commit
c66d9b2c20
1 changed files with 2 additions and 3 deletions
|
@ -60,9 +60,8 @@ def init_table(key, method=None):
|
||||||
try:
|
try:
|
||||||
__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 %s, please run'
|
||||||
'default method, please run `apt-get install '
|
' `apt-get install python-m2crypto`') % method)
|
||||||
'python-m2crypto`')
|
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if not method:
|
if not method:
|
||||||
if key in cached_tables:
|
if key in cached_tables:
|
||||||
|
|
Loading…
Reference in a new issue