in order for replication setup to work, some errors should be ignored

reviewable/pr18780/r1
Kenny Gryp 9 years ago
parent 975d7952b9
commit e1c1ea9013

@ -311,7 +311,7 @@ def main():
if not mysqldb_found: if not mysqldb_found:
module.fail_json(msg="the python mysqldb module is required") module.fail_json(msg="the python mysqldb module is required")
else: else:
warnings.filterwarnings('error', category=MySQLdb.Warning) warnings.filterwarnings('ignore', category=MySQLdb.Warning)
# Either the caller passes both a username and password with which to connect to # 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 # mysql, or they pass neither and allow this module to read the credentials from

Loading…
Cancel
Save