diff options
| author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 15:37:53 +0800 |
|---|---|---|
| committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-20 15:37:53 +0800 |
| commit | c9dbaab311dbafcba0b68edb6ed89988b476f1dc (patch) | |
| tree | a90722893f1dea42e55faa1a6e91d7c6a171ba15 /git/compat.py | |
| parent | 74a0507f4eb468b842d1f644f0e43196cda290a1 (diff) | |
| download | GitPython-c9dbaab311dbafcba0b68edb6ed89988b476f1dc.tar.gz GitPython-c9dbaab311dbafcba0b68edb6ed89988b476f1dc.zip | |
Revert "This time, use test-requirements."
This reverts commit 74a0507f4eb468b842d1f644f0e43196cda290a1.
https://travis-ci.org/gitpython-developers/GitPython/jobs/561334516#L634
Diffstat (limited to 'git/compat.py')
| -rw-r--r-- | git/compat.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/git/compat.py b/git/compat.py index 02dc69de..b63768f3 100644 --- a/git/compat.py +++ b/git/compat.py @@ -30,10 +30,7 @@ PY3 = sys.version_info[0] >= 3 is_win = (os.name == 'nt') is_posix = (os.name == 'posix') is_darwin = (os.name == 'darwin') -if hasattr(sys, 'getfilesystemencoding'): - defenc = sys.getfilesystemencoding() -if defenc is None: - defenc = sys.getdefaultencoding() +defenc = sys.getdefaultencoding() if PY3: import io |
