diff options
Diffstat (limited to 'lib/mysql_user')
-rw-r--r-- | lib/mysql_user | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mysql_user b/lib/mysql_user index 602235a..64e1f3d 100644 --- a/lib/mysql_user +++ b/lib/mysql_user @@ -286,7 +286,7 @@ def privileges_unpack(priv): pieces[0][idx] = "`" + pieces[0][idx] + "`" pieces[0] = '.'.join(pieces[0]) - output[pieces[0]] = pieces[1].upper().split(',') + output[pieces[0]] = [ g.strip() for g in pieces[1].upper().split(',') ] if '*.*' not in output: output['*.*'] = ['USAGE'] |