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

ephraimanierobi pushed a commit to branch v2-7-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 448f4849c001626131efe7f0be744ebf02806b27
Author: Ash Berlin-Taylor <[email protected]>
AuthorDate: Fri Aug 4 17:44:49 2023 +0100

    Correctly log when there are problems trying to chmod airflow.cfg (#33118)
    
    Without this change log gives us a big warning/stack trace about
    "TypeError: not all arguments converted during string formatting".
    
    (cherry picked from commit af0839200565dd31787632119aec0b6a751b0ca8)
---
 airflow/configuration.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/airflow/configuration.py b/airflow/configuration.py
index 948c68625e..a732f94f2d 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -2054,7 +2054,7 @@ def make_group_other_inaccessible(file_path: str):
     except Exception as e:
         log.warning(
             "Could not change permissions of config file to be group/other 
inaccessible. "
-            "Continuing with original permissions:",
+            "Continuing with original permissions: %s",
             e,
         )
 

Reply via email to