mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix: don't concatenate when not needed
This commit is contained in:
parent
ba60b7972a
commit
e7a597da00
1 changed files with 1 additions and 1 deletions
|
@ -2875,7 +2875,7 @@ def privileges_grant(name,
|
|||
object_name, name)
|
||||
elif (object_type in ('table', 'sequence') and
|
||||
object_name.upper() == 'ALL'):
|
||||
query = 'GRANT {0} ON ALL {1}S IN SCHEMA {2} TO ' + \
|
||||
query = 'GRANT {0} ON ALL {1}S IN SCHEMA {2} TO ' \
|
||||
'"{3}" WITH GRANT OPTION'.format(
|
||||
_grants, object_type.upper(), prepend, name)
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue