diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2015-01-06 16:22:14 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2015-01-06 16:22:14 +0100 |
commit | c824bcd73de8a7035f7e55ab3375ee0b6ab28c46 (patch) | |
tree | f3165e8e2f450533b4eca3df8b243b7181ba82a7 | |
parent | 5c12ff49fc91e66f30c5dc878f5d764d08479558 (diff) | |
download | gitpython-c824bcd73de8a7035f7e55ab3375ee0b6ab28c46.tar.gz |
Fixed log implementation for py3
When merging, I accidentally removed the py3 adjustments
-rw-r--r-- | git/refs/log.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/git/refs/log.py b/git/refs/log.py index 7708dd73..8ce98d30 100644 --- a/git/refs/log.py +++ b/git/refs/log.py @@ -84,6 +84,7 @@ class RefLogEntry(tuple): """:return: New RefLogEntry instance from the given revlog line. :param line: line bytes without trailing newline :raise ValueError: If line could not be parsed""" + line = line.decode(defenc) fields = line.split('\t', 1) if len(fields) == 1: info, msg = fields[0], None |