diff options
author | Yobmod <yobmod@gmail.com> | 2021-07-31 18:02:06 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-07-31 18:02:06 +0100 |
commit | e364c5e327f916366e5936aa2c9f3f4065aec034 (patch) | |
tree | 63ccb5385c8f7c028bf4feaf17f18c1f7026139e /git/refs | |
parent | ef48a3513d7a9456fd57f4da248a9c73f9e668bd (diff) | |
download | gitpython-e364c5e327f916366e5936aa2c9f3f4065aec034.tar.gz |
Add type to refs.log._read_from_file()
Diffstat (limited to 'git/refs')
-rw-r--r-- | git/refs/log.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 643b4114..ddd78bc7 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -157,7 +157,7 @@ class RefLog(List[RefLogEntry], Serializable): self._read_from_file() # END handle filepath - def _read_from_file(self): + def _read_from_file(self) -> None: try: fmap = file_contents_ro_filepath( self._path, stream=True, allow_mmap=True) |