mirror of
https://github.com/ansible-collections/community.mysql.git
synced 2025-04-06 10:40:36 -07:00
fix sanity tests for python 2.6 the right way (my bad)
This commit is contained in:
parent
4093de51dd
commit
f80ef4f9b4
1 changed files with 3 additions and 3 deletions
|
@ -554,11 +554,11 @@ class MySQL_Info(object):
|
|||
# indicate an empty string.
|
||||
#
|
||||
# TODO: when dropping support of ansible-core 2.12, change:
|
||||
# set([x for x in priv]) == set(['PROXY', 'GRANT'])
|
||||
# set(['PROXY', 'GRANT'])
|
||||
# into:
|
||||
# set(priv) == {'PROXY', 'GRANT'}
|
||||
# {'PROXY', 'GRANT'}
|
||||
# This is because the Sanity test for 2.12 uses Python 2.6!!!
|
||||
if set([x for x in priv]) == set(['PROXY', 'GRANT']) and user == 'root':
|
||||
if set(priv) == set(['PROXY', 'GRANT']) and user == 'root':
|
||||
priv_string.append("'``@`%`: 'PROXY,GRANT'")
|
||||
continue
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue