summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Pudeyev <code@olegp.name>2022-12-16 14:19:00 -0500
committerOleg Pudeyev <code@olegp.name>2022-12-16 14:19:00 -0500
commitbfabbf9795fa79db6fe5e9b375ad553061aa8917 (patch)
treea4c5a58120ebf0df374ad5fc05d4cdc8bf7234df
parent0e66e605e043ff499a1e5378b7ae5d8924f8c9ae (diff)
downloadpycurl-bfabbf9795fa79db6fe5e9b375ad553061aa8917.tar.gz
Fix authors extraction for python 3
-rw-r--r--setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index d871886..f99e7ad 100644
--- a/setup.py
+++ b/setup.py
@@ -737,7 +737,7 @@ def check_authors():
authors_para = paras[AUTHORS_PARAGRAPH]
authors = [author for author in authors_para.strip().split("\n")]
- log = subprocess.check_output(['git', 'log', '--format=%an (%ae)'])
+ log = subprocess.check_output(['git', 'log', '--format=%an (%ae)']).decode()
for author in log.strip().split("\n"):
author = author.replace('@', ' at ').replace('(', '<').replace(')', '>')
if author not in authors: