summaryrefslogtreecommitdiff
path: root/git/compat.py
diff options
context:
space:
mode:
authorHarmon <Harmon758@gmail.com>2020-02-07 05:01:57 -0600
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-02-08 10:55:50 +0800
commitec29b1562a3b7c2bf62e54e39dce18aebbb58959 (patch)
tree96ff14daa7d57328e7ec859cefadef144938e6d1 /git/compat.py
parent438d3e6e8171189cfdc0a3507475f7a42d91bf02 (diff)
downloadgitpython-ec29b1562a3b7c2bf62e54e39dce18aebbb58959.tar.gz
Remove compat.byte_ord
Diffstat (limited to 'git/compat.py')
-rw-r--r--git/compat.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/git/compat.py b/git/compat.py
index 1ee4e2ee..ea441ec1 100644
--- a/git/compat.py
+++ b/git/compat.py
@@ -33,9 +33,6 @@ is_darwin = (os.name == 'darwin')
defenc = sys.getfilesystemencoding()
if PY3:
- def byte_ord(b):
- return b
-
def bchr(n):
return bytes([n])
@@ -48,7 +45,6 @@ if PY3:
else:
if defenc == 'ascii':
defenc = 'utf-8'
- byte_ord = ord
bchr = chr
unicode = unicode
binary_type = str