diff options
author | Jiri Tyr <jtyr@users.noreply.github.com> | 2016-05-24 13:47:50 +0100 |
---|---|---|
committer | Michael Scherer <mscherer@users.noreply.github.com> | 2016-05-24 14:47:50 +0200 |
commit | 4cb16a0f663d23cea41b7713802669cc6c0492ec (patch) | |
tree | e8585d58f620970d514aa1662e57b3646919ddb7 /database | |
parent | b903c54bacf3b5ac9b28a0c21dd99984db33f6fe (diff) | |
download | ansible-modules-core-4cb16a0f663d23cea41b7713802669cc6c0492ec.tar.gz |
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.
Diffstat (limited to 'database')
-rw-r--r-- | database/postgresql/postgresql_user.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/database/postgresql/postgresql_user.py b/database/postgresql/postgresql_user.py index 2d65ba4e..caa1dc2d 100644 --- a/database/postgresql/postgresql_user.py +++ b/database/postgresql/postgresql_user.py @@ -449,9 +449,6 @@ def grant_privileges(cursor, user, privs): grant_funcs = dict(table=grant_table_privileges, database=grant_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 for type_ in privs: for name, privileges in privs[type_].iteritems(): |