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

[airflow] branch master updated: Remove redundant parenthesis (#12213)

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

kaxilnaik 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 a7272f4  Remove redundant parenthesis (#12213)
a7272f4 is described below

commit a7272f47f67bb607198731fa69efe3f42f256ce0
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Mon Nov 9 22:00:55 2020 +0000

    Remove redundant parenthesis (#12213)
---
 airflow/www/views.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/airflow/www/views.py b/airflow/www/views.py
index 9cdd42a..613940e 100644
--- a/airflow/www/views.py
+++ b/airflow/www/views.py
@@ -1504,7 +1504,7 @@ class Airflow(AirflowBaseView):  # noqa: D101  pylint: disable=too-many-public-m
 
             response = self.render_template(
                 'airflow/confirm.html',
-                message=("Here's the list of task instances you are about to clear:"),
+                message="Here's the list of task instances you are about to clear:",
                 details=details,
             )
 
@@ -1773,7 +1773,7 @@ class Airflow(AirflowBaseView):  # noqa: D101  pylint: disable=too-many-public-m
 
         response = self.render_template(
             "airflow/confirm.html",
-            message=(f"Here's the list of task instances you are about to mark as {state}:"),
+            message=f"Here's the list of task instances you are about to mark as {state}:",
             details=details,
         )