You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/06/26 09:14:03 UTC

[airflow] branch master updated: Remove reimported AirflowException class (#9525)

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

potiuk 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 e0d4c6b  Remove reimported AirflowException class (#9525)
e0d4c6b is described below

commit e0d4c6b24d4564ad10d4c243100188ee0f90dc1f
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Fri Jun 26 10:13:12 2020 +0100

    Remove reimported AirflowException class (#9525)
    
    It is imported at the top of the file and L1060 too
---
 airflow/www/views.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/airflow/www/views.py b/airflow/www/views.py
index 1e259f6..059ae4a 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -1057,8 +1057,6 @@ class Airflow(AirflowBaseView):  # noqa: D101
 
     def _clear_dag_tis(self, dag, start_date, end_date, origin,
                        recursive=False, confirmed=False, only_failed=False):
-        from airflow.exceptions import AirflowException
-
         if confirmed:
             count = dag.clear(
                 start_date=start_date,