diff options
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 |