Skip to content

Commit

Permalink
Fix D202 issue (#24322)
Browse files Browse the repository at this point in the history
  • Loading branch information
eladkal authored Jun 8, 2022
1 parent dc9c083 commit 01a52cc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion airflow/www/security.py
Original file line number Diff line number Diff line change
Expand Up @@ -631,7 +631,6 @@ def _sync_dag_view_permissions(self, dag_id, access_control):
:param access_control: a dict where each key is a rolename and
each value is a set() of action names (e.g. {'can_read'})
"""

dag_resource_name = permissions.resource_name_for_dag(dag_id)

def _get_or_create_dag_permission(action_name: str) -> Optional[Permission]:
Expand Down

0 comments on commit 01a52cc

Please sign in to comment.