mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Bugfix: don't concatenate when not needed
This commit is contained in:
parent
ba60b7972a
commit
e7a597da00
@ -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…
Reference in New Issue
Block a user