From c7392d68121befe838d2494177531083e22b3d29 Mon Sep 17 00:00:00 2001 From: Harmon Date: Fri, 7 Feb 2020 05:28:59 -0600 Subject: Remove and replace compat.binary_type --- git/compat.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'git/compat.py') 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""" -- cgit v1.2.1