diff options
| author | Yobmod <yobmod@gmail.com> | 2021-05-16 21:21:44 +0100 |
|---|---|---|
| committer | Yobmod <yobmod@gmail.com> | 2021-05-16 21:21:44 +0100 |
| commit | 595181da70978ed44983a6c0ca4cb6d982ba0e8b (patch) | |
| tree | de94a35c9bb218ff09324050500d7a0f81b230b2 /git/refs | |
| parent | f58702b0c3a0bb58d49b995a7e5479a7b24933e4 (diff) | |
| download | gitpython-595181da70978ed44983a6c0ca4cb6d982ba0e8b.tar.gz | |
flake8 and mypy fixes
Diffstat (limited to 'git/refs')
| -rw-r--r-- | git/refs/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index fcd2c23c..363c3c5d 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -97,8 +97,8 @@ class RefLogEntry(tuple): " Got %s" % repr(line)) # END handle first split - oldhexsha = info[:40] - newhexsha = info[41:81] + oldhexsha = info[:40] # type: str + newhexsha = info[41:81] # type: str for hexsha in (oldhexsha, newhexsha): if not cls._re_hexsha_only.match(hexsha): raise ValueError("Invalid hexsha: %r" % (hexsha,)) |
