Skip to content

Commit

Permalink
Universal newlines is the default, so remove the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Apr 28, 2024
1 parent 9da3d02 commit 1c1b986
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/towncrier/_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ def _figure_out_existing_content(
# Non-existent files have no existing content.
return "", ""

# If we didn't use universal newlines here, we wouldn't find *start_string*
# which usually contains a `\n`.
content = Path(news_file).read_text(encoding="utf-8")

t = content.split(start_string, 1)
Expand Down

0 comments on commit 1c1b986

Please sign in to comment.