summaryrefslogtreecommitdiff
path: root/database
diff options
context:
space:
mode:
authorMark van Driel <mvdriel@nlware.com>2016-01-06 11:53:06 +0100
committerMark van Driel <mvdriel@nlware.com>2016-01-06 11:53:06 +0100
commit9da92bfba0824eacc6955125eae18ba590efd855 (patch)
tree2a54c47bfde2c5ece96cf92aee579a1a99c1528b /database
parent0890aab41b8eaa12e7752e165fb8344bef98896a (diff)
downloadansible-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.py2
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