We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c8ff21 commit 105a8c0Copy full SHA for 105a8c0
git/compat.py
@@ -54,7 +54,7 @@ def safe_decode(s):
54
if isinstance(s, unicode):
55
return s
56
elif isinstance(s, bytes):
57
- return s.decode(defenc, errors='replace')
+ return s.decode(defenc, 'replace')
58
raise TypeError('Expected bytes or text, but got %r' % (s,))
59
60
0 commit comments