Skip to content

Commit

Permalink
Remove dead branch
Browse files Browse the repository at this point in the history
The content option has a default (currently "Add your info here") so
it can't never be None.
  • Loading branch information
hynek committed Sep 2, 2022
1 parent 44fc1cf commit 18d4909
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/towncrier/create.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,7 @@ def _get_news_content_from_user(message):
"# In order to abort, exit without saving.\n"
'# Lines starting with "#" are ignored.\n'
)
if message is not None:
initial_content += "\n" "{message}\n".format(message=message)
initial_content += "\n" "{message}\n".format(message=message)
content = click.edit(initial_content)
if content is None:
return None
Expand Down

0 comments on commit 18d4909

Please sign in to comment.