Skip to content

Commit

Permalink
Drop encoding needed by Py27(?)
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Jun 2, 2022
1 parent 929443b commit 2a9a81e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _setup/changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,7 @@ def _printReST(self, issues, label):
print()

for i, issue in issues.iterrows():
# distutils does something disgusting with encodings
# we have to strip out unicode or we get errors
print(issue.ReST.encode("ascii", errors="replace"))
print(issue.ReST)

def _getMilestone(self, milestone):
"""Return Milestone with title of `milestone`
Expand Down

0 comments on commit 2a9a81e

Please sign in to comment.