From 49460b80d7d4f52c3de9f00032e3a1525d38d738 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Thu, 28 Jul 2022 12:20:04 -0400 Subject: ez: fix typos on logger calls Fixes types in logger calls. Reported-by: Maxime Ripard Signed-off-by: Konstantin Ryabitsev --- b4/ez.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b4/ez.py b/b4/ez.py index 06dfca4..eaa9dfe 100644 --- a/b4/ez.py +++ b/b4/ez.py @@ -148,7 +148,7 @@ def get_base_forkpoint(basebranch: str) -> Tuple[str, int]: gitargs = ['rev-parse', '--verify', '--quiet', basebranch] ecode, out = b4.git_run_command(None, gitargs) if ecode > 0: - logger.crtitical('CRITICAL: Could not find branch with this name: %s', basebranch) + logger.critical('CRITICAL: Could not find branch with this name: %s', basebranch) raise RuntimeError('Branch %s not found', basebranch) # Find merge-base with that branch mybranch = b4.git_get_current_branch() @@ -156,7 +156,7 @@ def get_base_forkpoint(basebranch: str) -> Tuple[str, int]: gitargs = ['merge-base', '--fork-point', basebranch] lines = b4.git_get_command_lines(None, gitargs) if not lines: - logger.crtitical('CRITICAL: Could not find common ancestor with %s', basebranch) + logger.critical('CRITICAL: Could not find common ancestor with %s', basebranch) raise RuntimeError('Branches %s and %s have no common ancestors', basebranch, mybranch) fp = lines[0] logger.debug('Fork-point between %s and %s is %s', mybranch, basebranch, fp) -- cgit v1.2.3