Add missing sha1 import on known_hosts.py

pull/6639/head
Francisco José Marques Vieira 11 years ago
parent f82ac9f8e9
commit e9d7476c28

@ -27,6 +27,7 @@
# USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import hmac import hmac
from hashlib import sha1
HASHED_KEY_MAGIC = "|1|" HASHED_KEY_MAGIC = "|1|"
def add_git_host_key(module, url, accept_hostkey=True): def add_git_host_key(module, url, accept_hostkey=True):

Loading…
Cancel
Save