mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
change partition to rpartition in mysql grants #656
This commit is contained in:
parent
f2e50d9579
commit
f196cb52ea
@ -516,7 +516,7 @@ def __grant_generate(grant,
|
||||
# todo: Re-order the grant so it is according to the SHOW GRANTS for xxx@yyy query (SELECT comes first, etc)
|
||||
grant = grant.replace(',', ', ').upper()
|
||||
|
||||
db_part = database.partition('.')
|
||||
db_part = database.rpartition('.')
|
||||
db = db_part[0]
|
||||
table = db_part[2]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user