diff options
author | Mark van Driel <mvdriel@nlware.com> | 2016-01-06 11:53:06 +0100 |
---|---|---|
committer | Mark van Driel <mvdriel@nlware.com> | 2016-01-06 11:53:06 +0100 |
commit | 9da92bfba0824eacc6955125eae18ba590efd855 (patch) | |
tree | 2a54c47bfde2c5ece96cf92aee579a1a99c1528b /database | |
parent | 0890aab41b8eaa12e7752e165fb8344bef98896a (diff) | |
download | ansible-modules-core-9da92bfba0824eacc6955125eae18ba590efd855.tar.gz |
Fixed "invalid privileges string: set expected at most 1 arguments, got 2"
Diffstat (limited to 'database')
-rw-r--r-- | database/mysql/mysql_user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/database/mysql/mysql_user.py b/database/mysql/mysql_user.py index 79dee70a..06509fdf 100644 --- a/database/mysql/mysql_user.py +++ b/database/mysql/mysql_user.py @@ -341,7 +341,7 @@ def privileges_unpack(priv): # if we are only specifying something like REQUIRESSL and/or GRANT (=WITH GRANT OPTION) in *.* # we still need to add USAGE as a privilege to avoid syntax errors - if 'REQUIRESSL' in priv and not set(output['*.*']).difference(set('GRANT', 'REQUIRESSL')): + if 'REQUIRESSL' in priv and not set(output['*.*']).difference(set(['GRANT', 'REQUIRESSL'])): output['*.*'].append('USAGE') return output |