Revert non relevant changes to have cleaner patch

This commit is contained in:
Laurent Indermuehle 2023-10-10 17:48:23 +02:00
parent dbfc252ca5
commit 970897cc46
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09
2 changed files with 3 additions and 2 deletions

View file

@ -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]) raise InvalidPrivsError('unable to parse the MySQL grant string: %s' % grant[0])
privileges = [x.strip() for x in res.group(1).split(",")] privileges = res.group(1).split(",")
privileges = [pick(x) for x in privileges] privileges = [pick(x.strip()) for x in privileges]
# Handle cases when there's privs like GRANT SELECT (colA, ...) in privs. # Handle cases when there's privs like GRANT SELECT (colA, ...) in privs.
# To this point, the privileges list can look like # To this point, the privileges list can look like

View file

@ -6,4 +6,5 @@ plugins/modules/mysql_info.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_query.py validate-modules:parameter-list-no-elements plugins/modules/mysql_query.py validate-modules:parameter-list-no-elements
plugins/modules/mysql_user.py validate-modules:undocumented-parameter plugins/modules/mysql_user.py validate-modules:undocumented-parameter
plugins/modules/mysql_variables.py validate-modules:doc-required-mismatch plugins/modules/mysql_variables.py validate-modules:doc-required-mismatch
plugins/module_utils/mysql.py pylint:unused-import
plugins/module_utils/version.py pylint:unused-import plugins/module_utils/version.py pylint:unused-import