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

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


The following commit(s) were added to refs/heads/master by this push:
     new a0374a5  Fix for pydocstyle D202 (#11096)
a0374a5 is described below

commit a0374a5f95d5b4870cd86b0832a29b9f134ec8b7
Author: Xiaodong DENG <[email protected]>
AuthorDate: Tue Sep 22 23:48:53 2020 +0200

    Fix for pydocstyle D202 (#11096)
    
    'issues' introduced in https://github.com/apache/airflow/pull/10594
---
 airflow/api_connexion/security.py | 1 -
 airflow/www/security.py           | 1 -
 2 files changed, 2 deletions(-)

diff --git a/airflow/api_connexion/security.py 
b/airflow/api_connexion/security.py
index 388f5c1..1393e5f 100644
--- a/airflow/api_connexion/security.py
+++ b/airflow/api_connexion/security.py
@@ -50,7 +50,6 @@ def check_authorization(
     permissions: Optional[Sequence[Tuple[str, str]]] = None, dag_id: 
Optional[int] = None
 ) -> None:
     """Checks that the logged in user has the specified permissions."""
-
     if not permissions:
         return
     appbuilder = current_app.appbuilder
diff --git a/airflow/www/security.py b/airflow/www/security.py
index 5030e1c..355ccf0 100644
--- a/airflow/www/security.py
+++ b/airflow/www/security.py
@@ -293,7 +293,6 @@ class AirflowSecurityManager(SecurityManager, LoggingMixin):
     @provide_session
     def get_accessible_dags(self, user_action, user, session=None):
         """Generic function to get readable or writable DAGs for authenticated 
user."""
-
         if user.is_anonymous:
             return set()
 

Reply via email to