Fix typos, enhance formatting, limit line length to 120

This commit is contained in:
Richard Vézina 2022-01-25 16:56:38 -05:00
commit cadc8438dc
7 changed files with 22 additions and 16 deletions

View file

@ -415,8 +415,8 @@ def main():
connect_timeout=connect_timeout, check_hostname=check_hostname
)
except Exception as e:
module.fail_json(msg="unable to connect to database, check login_user and login_password are correct or %s has the credentials. "
"Exception message: %s" % (config_file, to_native(e)))
module.fail_json(msg="unable to connect to database, check login_user and login_password are correct or %s "
"has the credentials. Exception message: %s" % (config_file, to_native(e)))
if not sql_log_bin:
cursor.execute("SET SQL_LOG_BIN=0;")