Removing double definition in postgresql_user module (#3714)
This commit is removing double definition of variables in the grant_privileges function of the postgresql_user module.
This commit is contained in:
parent
b903c54bac
commit
4cb16a0f66
1 changed files with 0 additions and 3 deletions
|
@ -449,9 +449,6 @@ def grant_privileges(cursor, user, privs):
|
||||||
grant_funcs = dict(table=grant_table_privileges, database=grant_database_privileges)
|
grant_funcs = dict(table=grant_table_privileges, database=grant_database_privileges)
|
||||||
check_funcs = dict(table=has_table_privileges, database=has_database_privileges)
|
check_funcs = dict(table=has_table_privileges, database=has_database_privileges)
|
||||||
|
|
||||||
grant_funcs = dict(table=grant_table_privileges, database=grant_database_privileges)
|
|
||||||
check_funcs = dict(table=has_table_privileges, database=has_database_privileges)
|
|
||||||
|
|
||||||
changed = False
|
changed = False
|
||||||
for type_ in privs:
|
for type_ in privs:
|
||||||
for name, privileges in privs[type_].iteritems():
|
for name, privileges in privs[type_].iteritems():
|
||||||
|
|
Loading…
Reference in a new issue