diff options
author | Oleg Pudeyev <code@olegp.name> | 2022-12-16 14:19:00 -0500 |
---|---|---|
committer | Oleg Pudeyev <code@olegp.name> | 2022-12-16 14:19:00 -0500 |
commit | bfabbf9795fa79db6fe5e9b375ad553061aa8917 (patch) | |
tree | a4c5a58120ebf0df374ad5fc05d4cdc8bf7234df | |
parent | 0e66e605e043ff499a1e5378b7ae5d8924f8c9ae (diff) | |
download | pycurl-bfabbf9795fa79db6fe5e9b375ad553061aa8917.tar.gz |
Fix authors extraction for python 3
-rw-r--r-- | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |