diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-10-16 15:09:38 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-10-16 15:09:38 +0200 |
commit | 9e4a4545dd513204efb6afe40e4b50c3b5f77e50 (patch) | |
tree | 54ffff6c8dba0410693673caa38124a704ac9224 /git/compat.py | |
parent | 93d530234a4f5533aa99c3b897bb56d375c2ae60 (diff) | |
download | gitpython-9e4a4545dd513204efb6afe40e4b50c3b5f77e50.tar.gz |
fix(surrogateescape): enable on py2, fix tests
Diffstat (limited to 'git/compat.py')
-rw-r--r-- | git/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/compat.py b/git/compat.py index 9c7a43dd..a2403d69 100644 --- a/git/compat.py +++ b/git/compat.py @@ -308,6 +308,6 @@ def register_surrogateescape(): try: - "hello".decode(defenc, "surrogateescape") + b"100644 \x9f\0aaa".decode(defenc, "surrogateescape") except: register_surrogateescape() |