1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Cleanup pyflakes warning (real error)

This commit is contained in:
Toshio Kuratomi 2015-10-19 11:29:51 -07:00
parent a526eae543
commit 3da8bab3ff

View file

@ -30,6 +30,13 @@ try:
except:
pass
try:
from __main__ import display
display = display
except ImportError:
from ansible.utils.display import Display
display = Display()
KEYCZAR_AVAILABLE=False
try:
try:
@ -44,7 +51,7 @@ try:
import keyczar.errors as key_errors
from keyczar.keys import AesKey
except PowmInsecureWarning:
system_warning(
display.system_warning(
"The version of gmp you have installed has a known issue regarding " + \
"timing vulnerabilities when used with pycrypto. " + \
"If possible, you should update it (i.e. yum update gmp)."