Deprecated call to sha.sha replaced with hashlib.sha1