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/06/18 00:48:39 UTC

[airflow] 01/04: Fix awkward log info in dbapi_hook (#8482)

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

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit a5434ba42e93b579d5ea9b9e59b3744bfaadf97c
Author: Hao Liang <le...@outlook.com>
AuthorDate: Tue Apr 21 19:50:25 2020 +0800

    Fix awkward log info in dbapi_hook (#8482)
    
    Co-authored-by: Liang Hao <li...@tesla.com>
    (cherry picked from commit 06cde6b05acca1620da97481553b120c4ffe35b6)
---
 airflow/hooks/dbapi_hook.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/hooks/dbapi_hook.py b/airflow/hooks/dbapi_hook.py
index d03d7da..218ff83 100644
--- a/airflow/hooks/dbapi_hook.py
+++ b/airflow/hooks/dbapi_hook.py
@@ -260,7 +260,7 @@ class DbApiHook(BaseHook):
                     if commit_every and i % commit_every == 0:
                         conn.commit()
                         self.log.info(
-                            "Loaded %s into %s rows so far", i, table
+                            "Loaded %s rows into %s so far", i, table
                         )
 
             conn.commit()