From 96f8f17d5d63c0e0c044ac3f56e94a1aa2e45ec3 Mon Sep 17 00:00:00 2001 From: yobmod Date: Mon, 3 May 2021 21:20:29 +0100 Subject: fix Repo forward ref --- git/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/remote.py') diff --git a/git/remote.py b/git/remote.py index 34d653e6..2eeafcc4 100644 --- a/git/remote.py +++ b/git/remote.py @@ -301,7 +301,7 @@ class FetchInfo(object): return self.ref.commit @classmethod - def _from_line(cls, repo: Repo, line: str, fetch_line) -> 'FetchInfo': + def _from_line(cls, repo: 'Repo', line: str, fetch_line: str) -> 'FetchInfo': """Parse information from the given line as returned by git-fetch -v and return a new FetchInfo object representing this information. -- cgit v1.2.1