aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-07-28 12:20:04 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-07-28 12:20:04 -0400
commit49460b80d7d4f52c3de9f00032e3a1525d38d738 (patch)
tree01a0755b547d64fd37228d09f4a55f0c9bb6015c
parent0262a70bd881f1c8370a07fcae725e96ea3a2a7c (diff)
downloadb4-49460b80d7d4f52c3de9f00032e3a1525d38d738.tar.gz
ez: fix typos on logger calls
Fixes types in logger calls. Reported-by: Maxime Ripard <maxime@cerno.tech> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/ez.py4
1 files 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)