aboutsummaryrefslogtreecommitdiff
path: root/modules/gitpython_hack.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-09-09 10:31:56 +0300
committerGitHub <noreply@github.com>2023-09-09 10:31:56 +0300
commit924642331b13b73adbada3270a52cc5c7ae85ace (patch)
treedd15c7eccf1ef65d9da772c14c16f943766ac69d /modules/gitpython_hack.py
parentc9c457eda8dec414dc38e874691d1e2736d6dcbb (diff)
parentb6c1a1bbbf29a3041025aa336f6f843ffd7c7d46 (diff)
Merge pull request #12846 from a666/deprecated-types
Fix some deprecated types
Diffstat (limited to 'modules/gitpython_hack.py')
-rw-r--r--modules/gitpython_hack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gitpython_hack.py b/modules/gitpython_hack.py
index e537c1df..b55f0640 100644
--- a/modules/gitpython_hack.py
+++ b/modules/gitpython_hack.py
@@ -23,7 +23,7 @@ class Git(git.Git):
)
return self._parse_object_header(ret)
- def stream_object_data(self, ref: str) -> tuple[str, str, int, "Git.CatFileContentStream"]:
+ def stream_object_data(self, ref: str) -> tuple[str, str, int, Git.CatFileContentStream]:
# Not really streaming, per se; this buffers the entire object in memory.
# Shouldn't be a problem for our use case, since we're only using this for
# object headers (commit objects).