From de9d0753bf66375ee646e91afa5f2aeeca5102c9 Mon Sep 17 00:00:00 2001 From: Andrew Klychkov Date: Thu, 5 May 2022 10:52:06 +0200 Subject: [PATCH] Fix a typo --- plugins/module_utils/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/module_utils/user.py b/plugins/module_utils/user.py index e25bbbf..ba34fa9 100644 --- a/plugins/module_utils/user.py +++ b/plugins/module_utils/user.py @@ -417,7 +417,7 @@ def privileges_get(cursor, user, host, maria_role=False): res = re.match("""GRANT (.+) ON (.+) TO (['`"]).*\\3""", grant[0]) if res is None: - # If a user have roles assigned, we'll have one of priv tuples looking like + # If a user has roles assigned, we'll have one of priv tuples looking like # GRANT `admin`@`%` TO `user1`@`localhost` # which will result None as res value. # As we use the mysql_role module to manipulate roles