From c824bcd73de8a7035f7e55ab3375ee0b6ab28c46 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 6 Jan 2015 16:22:14 +0100 Subject: Fixed log implementation for py3 When merging, I accidentally removed the py3 adjustments --- git/refs/log.py | 1 + 1 file changed, 1 insertion(+) (limited to 'git/refs/log.py') 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 -- cgit v1.2.1