From e9d7476c281034a679c824eb9598ef1bb5fdf582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Jos=C3=A9=20Marques=20Vieira?= Date: Sun, 23 Mar 2014 17:19:23 +0000 Subject: [PATCH] Add missing sha1 import on known_hosts.py --- lib/ansible/module_utils/known_hosts.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ansible/module_utils/known_hosts.py b/lib/ansible/module_utils/known_hosts.py index 14e0deb8fe4..dfd684c2328 100644 --- a/lib/ansible/module_utils/known_hosts.py +++ b/lib/ansible/module_utils/known_hosts.py @@ -27,6 +27,7 @@ # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. import hmac +from hashlib import sha1 HASHED_KEY_MAGIC = "|1|" def add_git_host_key(module, url, accept_hostkey=True):