Cleaning up whitspace issues in the mysql_user module

reviewable/pr18780/r1
James Cammarata 11 years ago
parent 266255640e
commit 0eaae4ac9c

@ -242,7 +242,6 @@ def privileges_unpack(priv):
for item in priv.split('/'):
pieces = item.split(':')
if pieces[0].find('.') != -1:
pieces[0] = pieces[0].split('.')
for idx, piece in enumerate(pieces):
if pieces[0][idx] != "*":
@ -251,7 +250,6 @@ def privileges_unpack(priv):
output[pieces[0]] = pieces[1].upper().split(',')
if '*.*' not in output:
output['*.*'] = ['USAGE']

Loading…
Cancel
Save