[PATCH 1/3] CLI/git: remove unused import

2024-01-12 Thread Jakub Wilk
shutil was used only for the tempfile.TemporaryDirectory backport, which was removed in commit b7c31f658121a0cf ("CLI/git: drop support for python < 3.2"). --- notmuch-git.py | 1 - 1 file changed, 1 deletion(-) diff --git a/notmuch-git.py b/notmuch-git.py index 57098aae..a11501ae 100644 --- a/no

[PATCH 3/3] CLI/git: remove no-op format() call

2024-01-12 Thread Jakub Wilk
--- notmuch-git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-git.py b/notmuch-git.py index 29f75531..97073c80 100644 --- a/notmuch-git.py +++ b/notmuch-git.py @@ -376,7 +376,7 @@ def check_safe_fraction(status): total = count_messages (TAG_PREFIX) if t

[PATCH 2/3] CLI/git: fix name error

2024-01-12 Thread Jakub Wilk
--- notmuch-git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notmuch-git.py b/notmuch-git.py index a11501ae..29f75531 100644 --- a/notmuch-git.py +++ b/notmuch-git.py @@ -247,7 +247,7 @@ def count_messages(prefix=None): stdout=_subprocess.PIPE, wait=True) if