aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps/blame.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps/blame.py')
-rw-r--r--git_deps/blame.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_deps/blame.py b/git_deps/blame.py
index 41d79fe..4e49f5d 100644
--- a/git_deps/blame.py
+++ b/git_deps/blame.py
@@ -37,7 +37,7 @@ def blame_via_subprocess(path, commit, start_line, num_lines):
'-L', "%d,+%d" % (start_line, num_lines),
commit, '--', path
]
- output = subprocess.check_output(cmd, universal_newlines=True)
+ output = subprocess.check_output(cmd, encoding="utf-8")
current_hunk = None
for line in output.split('\n'):