Thanks to visit codestin.com Credit goes to github.com
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.
2 parents da8aeec + a77eab2 commit 3b13c11Copy full SHA for 3b13c11
git/compat.py
@@ -30,7 +30,10 @@
30
is_win = (os.name == 'nt')
31
is_posix = (os.name == 'posix')
32
is_darwin = (os.name == 'darwin')
33
-defenc = sys.getdefaultencoding()
+if hasattr(sys, 'getfilesystemencoding'):
34
+ defenc = sys.getfilesystemencoding()
35
+if defenc is None:
36
+ defenc = sys.getdefaultencoding()
37
38
if PY3:
39
import io
git/repo/base.py
@@ -4,6 +4,7 @@
4
# This module is part of GitPython and is released under
5
# the BSD License: http://www.opensource.org/licenses/bsd-license.php
6
7
+from builtins import str
8
from collections import namedtuple
9
import logging
10
import os
requirements.txt
@@ -1 +1,4 @@
1
gitdb2 (>=2.0.0)
2
+gitdb>=0.6.4
3
+ddt>=1.1.1
+future>=0.9
0 commit comments