From e8edee41669e1054db37659b78191fee01186e06 Mon Sep 17 00:00:00 2001 From: Toshio Kuratomi Date: Thu, 4 Dec 2014 13:35:07 -0800 Subject: [PATCH] Fix typo --- database/mysql/mysql_user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 1fc57dc9534..eca83dc2f7c 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -490,7 +490,7 @@ def main(): except SQLParseError, e: module.fail_json(msg=str(e)) except InvalidPrivsError, e: - module.mail_json(msg=str(e)) + module.fail_json(msg=str(e)) else: if password is None: module.fail_json(msg="password parameter required when adding a user")