This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 01a52ccb53 Fix D202 issue (#24322)
01a52ccb53 is described below

commit 01a52ccb53bc805308bd085dc51ae4674dd5eb4a
Author: eladkal <[email protected]>
AuthorDate: Wed Jun 8 15:31:18 2022 +0300

    Fix D202 issue (#24322)
---
 airflow/www/security.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/airflow/www/security.py b/airflow/www/security.py
index de6b0d646e..941b483803 100644
--- a/airflow/www/security.py
+++ b/airflow/www/security.py
@@ -631,7 +631,6 @@ class AirflowSecurityManager(SecurityManager, LoggingMixin):
         :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]:

Reply via email to