Skip to content

Commit c30880d

Browse files
committed
Remove Python 2 check for compat.defenc
1 parent 91e91b2 commit c30880d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

git/compat.py

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
if PY3:
3535
binary_type = bytes
3636
else:
37-
if defenc == 'ascii':
38-
defenc = 'utf-8'
3937
binary_type = str
4038

4139

0 commit comments

Comments
 (0)