aboutsummaryrefslogtreecommitdiffstats
path: root/git_deps/detector.py
diff options
context:
space:
mode:
Diffstat (limited to 'git_deps/detector.py')
-rw-r--r--git_deps/detector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git_deps/detector.py b/git_deps/detector.py
index 82996a6..46922bc 100644
--- a/git_deps/detector.py
+++ b/git_deps/detector.py
@@ -329,7 +329,7 @@ class DependencyDetector(object):
cmd = ['git', 'merge-base', sha1, branch_sha1]
# self.logger.debug(" ".join(cmd))
- out = subprocess.check_output(cmd, universal_newlines=True).strip()
+ out = subprocess.check_output(cmd, encoding='utf-8').strip()
self.logger.debug(" merge-base returned: %s" % out[:8])
result = out == sha1
self.logger.debug(" %s" % result)