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
ifisinstance(s, unicode):
55
returns
56
elifisinstance(s, bytes):
57
-returns.decode(defenc, errors='replace')
+returns.decode(defenc, 'replace')
58
raiseTypeError('Expected bytes or text, but got %r'% (s,))
59
60
0 commit comments