summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-06 16:22:14 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-06 16:22:14 +0100
commitc824bcd73de8a7035f7e55ab3375ee0b6ab28c46 (patch)
treef3165e8e2f450533b4eca3df8b243b7181ba82a7
parent5c12ff49fc91e66f30c5dc878f5d764d08479558 (diff)
downloadgitpython-c824bcd73de8a7035f7e55ab3375ee0b6ab28c46.tar.gz
Fixed log implementation for py3
When merging, I accidentally removed the py3 adjustments
-rw-r--r--git/refs/log.py1
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