Skip to content

Commit 105a8c0

Browse files
committed
Python 2.6 compat
1 parent 5c8ff21 commit 105a8c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/compat.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def safe_decode(s):
5454
ifisinstance(s, unicode):
5555
returns
5656
elifisinstance(s, bytes):
57-
returns.decode(defenc, errors='replace')
57+
returns.decode(defenc, 'replace')
5858
raiseTypeError('Expected bytes or text, but got %r'% (s,))
5959

6060

0 commit comments

Comments
(0)