projects
/
tools
/
git-buildpackage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a6b629
)
setup.py: Explicitly open the changelog file as utf-8
author
Quanah Gibson-Mount
<quanah@symas.com>
Mon, 24 May 2021 17:26:28 +0000
(13:26 -0400)
committer
Guido Günther
<agx@sigxcpu.org>
Fri, 28 May 2021 09:28:04 +0000
(11:28 +0200)
setup.py
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index 0cc31b9ef74513404ca2a94439e7c0b1f3d293dc..4629bbd1cbe84acac5f4d47d39aa31b1394cd0e7 100755
(executable)
--- a/
setup.py
+++ b/
setup.py
@@
-26,7
+26,7
@@
VERSION_PY_PATH = 'gbp/version.py'
def _parse_changelog():
"""Get version from debian changelog and write it to gbp/version.py"""
- with open("debian/changelog") as f:
+ with open("debian/changelog"
, encoding="utf-8"
) as f:
line = f.readline()
# Parse version from changelog without external tooling so it can work