summaryrefslogtreecommitdiff
path: root/git/compat.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 05:28:59 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commitc7392d68121befe838d2494177531083e22b3d29 (patch)
tree78a8de8b15200f3f648914a8e71c06a1f3d42e56 /git/compat.py
parentfc209ec23819313ea3273c8c3dcbc2660b45ad6d (diff)
downloadgitpython-c7392d68121befe838d2494177531083e22b3d29.tar.gz
Remove and replace compat.binary_type
Diffstat (limited to 'git/compat.py')
-rw-r--r--git/compat.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/git/compat.py b/git/compat.py
index 19b46794..da500750 100644
--- a/git/compat.py
+++ b/git/compat.py
@@ -31,11 +31,6 @@ is_posix = (os.name == 'posix')
is_darwin = (os.name == 'darwin')
defenc = sys.getfilesystemencoding()
-if PY3:
- binary_type = bytes
-else:
- binary_type = str
-
def safe_decode(s):
"""Safely decodes a binary string to unicode"""