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 f2ce56f commit d01f072Copy full SHA for d01f072
git/compat.py
@@ -30,10 +30,7 @@
30
is_win = (os.name == 'nt')
31
is_posix = (os.name == 'posix')
32
is_darwin = (os.name == 'darwin')
33
-if hasattr(sys, 'getfilesystemencoding'):
34
- defenc = sys.getfilesystemencoding()
35
-if defenc is None:
36
- defenc = sys.getdefaultencoding()
+defenc = sys.getfilesystemencoding()
37
38
if PY3:
39
import io
0 commit comments