Skip to content

Commit

Permalink
Add missing sha1 import on known_hosts.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Francisco José Marques Vieira committed Mar 23, 2014
1 parent f82ac9f commit e9d7476
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ansible/module_utils/known_hosts.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e9d7476

Please sign in to comment.