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
if isinstance(s, unicode):
5555
return s
5656
elif isinstance(s, bytes):
57-
return s.decode(defenc, errors='replace')
57+
return s.decode(defenc, 'replace')
5858
raise TypeError('Expected bytes or text, but got %r' % (s,))
5959

6060

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy