mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-20 01:11:27 -07:00
Revert non relevant changes to have cleaner patch
This commit is contained in:
parent
dbfc252ca5
commit
970897cc46
2 changed files with 3 additions and 2 deletions
|
@ -533,8 +533,8 @@ def privileges_get(module, cursor, user, host, maria_role=False):
|
|||
|
||||
raise InvalidPrivsError('unable to parse the MySQL grant string: %s' % grant[0])
|
||||
|
||||
privileges = [x.strip() for x in res.group(1).split(",")]
|
||||
privileges = [pick(x) for x in privileges]
|
||||
privileges = res.group(1).split(",")
|
||||
privileges = [pick(x.strip()) for x in privileges]
|
||||
|
||||
# Handle cases when there's privs like GRANT SELECT (colA, ...) in privs.
|
||||
# To this point, the privileges list can look like
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue