summaryrefslogtreecommitdiff
path: root/git/compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/compat.py')
-rw-r--r--git/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/compat.py b/git/compat.py
index 187618a2..7a0a15d2 100644
--- a/git/compat.py
+++ b/git/compat.py
@@ -34,7 +34,7 @@ from git.types import TBD
# ---------------------------------------------------------------------------
-is_win = (os.name == 'nt') # type: bool
+is_win: bool = (os.name == 'nt')
is_posix = (os.name == 'posix')
is_darwin = (os.name == 'darwin')
defenc = sys.getfilesystemencoding()