Merge pull request #6639 from fvieira/devel

Add missing sha1 import on known_hosts.py
This commit is contained in:
Michael DeHaan 2014-03-23 16:23:55 -04:00
commit fba2f1f9a9

View file

@ -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):