diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-06-20 06:46:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-20 06:46:28 +0200 |
commit | e9405ac82af3a804dba1f9797bdb34815e1d7a18 (patch) | |
tree | 4eea60057ca88dbbd64ec5784142045ece03a124 /git/compat.py | |
parent | 930d03fb077f531b3fbea1b4da26a96153165883 (diff) | |
parent | 3ee291c469fc7ea6065ed22f344ed3f2792aa2ca (diff) | |
download | gitpython-e9405ac82af3a804dba1f9797bdb34815e1d7a18.tar.gz |
Merge pull request #474 from gitpython-developers/keep-raw-bytes-on-diffs
Store raw path bytes in Diff instances
Diffstat (limited to 'git/compat.py')
-rw-r--r-- | git/compat.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/git/compat.py b/git/compat.py index 5b46255c..b3572474 100644 --- a/git/compat.py +++ b/git/compat.py @@ -35,6 +35,7 @@ if PY3: return d.values() range = xrange unicode = str + binary_type = bytes else: FileType = file # usually, this is just ascii, which might not enough for our encoding needs @@ -44,6 +45,7 @@ else: byte_ord = ord bchr = chr unicode = unicode + binary_type = str range = xrange def mviter(d): return d.itervalues() |