From 77a4b4ea41fdebdce653775ce7c588cdeda0ec82 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Sun, 24 Jan 2021 21:28:35 +0100 Subject: [PATCH] midx: correct path_msg() use in an error path pathmsg() doesn't exist, it should be path_msg(). Fix that. Signed-off-by: Johannes Berg Reviewed-by: Rob Browning --- lib/bup/cmd/midx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bup/cmd/midx.py b/lib/bup/cmd/midx.py index 644cea8..b7ee950 100755 --- a/lib/bup/cmd/midx.py +++ b/lib/bup/cmd/midx.py @@ -49,7 +49,7 @@ def check_midx(name): try: ix = git.open_idx(name) except git.GitError as e: - add_error('%s: %s' % (pathmsg(name), e)) + add_error('%s: %s' % (path_msg(name), e)) return for count,subname in enumerate(ix.idxnames): sub = git.open_idx(os.path.join(os.path.dirname(name), subname)) -- 2.39.2