Fix new mypy error in _read_win_env_flag · gitpython-developers/GitPython@7204c13 · GitHub
Skip to content

Commit 7204c13

Browse files
committed
Fix new mypy error in _read_win_env_flag
As noted in 88557bc before this, that change added a couple of new mypy errors about unreachable code, where it is intentionally unreachable because it is for one platform and not another. This fixes one of them, though a fix that incorporates more of what can now be statically known about the return value based on the platform may be preferable.
1 parent 88557bc commit 7204c13

1 file changed

Lines changed: 16 additions & 10 deletions

File tree

git/util.py

Lines changed: 16 additions & 10 deletions

0 commit comments

Comments
 (0)