This is an automated email from the ASF dual-hosted git repository. jianliangqi pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new 501a79a45cd [Fix](format) compatible run_clang_format format string with python2/3.6/higher (#28469) 501a79a45cd is described below commit 501a79a45cdfb08dd8c0101405a7352fad39cf40 Author: airborne12 <airborn...@gmail.com> AuthorDate: Fri Dec 15 15:03:23 2023 +0800 [Fix](format) compatible run_clang_format format string with python2/3.6/higher (#28469) --- build-support/run_clang_format.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-support/run_clang_format.py b/build-support/run_clang_format.py index 266c7d5384f..b72a1615894 100755 --- a/build-support/run_clang_format.py +++ b/build-support/run_clang_format.py @@ -40,7 +40,7 @@ except ImportError: elif val in ('n', 'no', 'f', 'false', 'off', '0'): return 0 else: - raise ValueError(f"Invalid truth value '{val}'") + raise ValueError("Invalid truth value '{}'".format(val)) from functools import partial --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org