diff options
author | Kenny Gryp <kenny.gryp@percona.com> | 2015-11-09 10:07:15 +0100 |
---|---|---|
committer | Kenny Gryp <kenny.gryp@percona.com> | 2015-11-09 10:07:15 +0100 |
commit | 53d42cd8d870db500ff623c158365762c5b31a0b (patch) | |
tree | 3ba945cb350e57a592f25f13297798bdc66cd09e /database/mysql/mysql_replication.py | |
parent | e1c1ea9013dcde6e66b8e21e35bbce9638fa4e7e (diff) | |
download | ansible-modules-extras-53d42cd8d870db500ff623c158365762c5b31a0b.tar.gz |
revert to unbreak pull request
Diffstat (limited to 'database/mysql/mysql_replication.py')
-rw-r--r-- | database/mysql/mysql_replication.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/mysql/mysql_replication.py b/database/mysql/mysql_replication.py index f01ffa76..c8e342a1 100644 --- a/database/mysql/mysql_replication.py +++ b/database/mysql/mysql_replication.py @@ -311,7 +311,7 @@ def main(): if not mysqldb_found: module.fail_json(msg="the python mysqldb module is required") else: - warnings.filterwarnings('ignore', category=MySQLdb.Warning) + warnings.filterwarnings('error', category=MySQLdb.Warning) # Either the caller passes both a username and password with which to connect to # mysql, or they pass neither and allow this module to read the credentials from |