From 4cb16a0f663d23cea41b7713802669cc6c0492ec Mon Sep 17 00:00:00 2001 From: Jiri Tyr Date: Tue, 24 May 2016 13:47:50 +0100 Subject: 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. --- database/postgresql/postgresql_user.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'database') 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(): -- cgit v1.2.1