Skip to content

Commit

Permalink
unused connection call
Browse files Browse the repository at this point in the history
  • Loading branch information
m.semenov committed May 13, 2020
1 parent bbb883c commit b312e79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion protector/internals.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ def get_permission_owners_query():
def _get_filter_by_perm_condition(qset, user_id, perm_id, obj_id_field, ctype_id_field):
# here we brake some rules about sql sanitizing
# it is a shame, but this is an internal function so we can live with it
is_postgres = connection.vendor == 'postgresql'
condition = "EXISTS ("
if ctype_id_field is not None:
condition += """
Expand Down

0 comments on commit b312e79

Please sign in to comment.