From 67d0cd13debacab8dd16506f869dd29e849ec80f Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 3 Feb 2024 12:50:29 -0500 Subject: [PATCH] fix: keep compatible with python 3.7 --- src/watchgha/git_help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/watchgha/git_help.py b/src/watchgha/git_help.py index 8b95b77..a1f3b3c 100644 --- a/src/watchgha/git_help.py +++ b/src/watchgha/git_help.py @@ -8,7 +8,7 @@ import dulwich.repo -@functools.lru_cache +@functools.lru_cache(maxsize=10) def _dulwich_repo(dir="."): return dulwich.repo.Repo(dir)