Removing __mysql_hash_password, no longer needed.

This commit is contained in:
Gareth J. Greenaway 2018-10-05 18:17:08 -07:00
parent 0475acf91a
commit 4320c43a0f
No known key found for this signature in database
GPG Key ID: 10B62F8A7CAD7A41

View File

@ -203,12 +203,6 @@ def __virtual__():
return (False, 'The mysql execution module cannot be loaded: neither MySQLdb nor PyMySQL is available.')
def __mysql_hash_password(password):
_password = hashlib.sha1(password).digest()
_password = '*{0}'.format(hashlib.sha1(_password).hexdigest().upper())
return _password
def __check_table(name, table, **connection_args):
dbc = _connect(**connection_args)
if dbc is None: