Skip to content

Commit

Permalink
Appease pylint.
Browse files Browse the repository at this point in the history
  • Loading branch information
monacofj committed Feb 23, 2024
1 parent 3cf7e83 commit 3dba406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/reuse/header.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def find_and_replace_header(
if before.strip():
new_text = f"{before.rstrip()}\n\n{new_text}"
if after.strip():
NL = "\n"
new_text = f"{new_text}\n{after.lstrip(NL)}"
newline = "\n"
new_text = f"{new_text}\n{after.lstrip(newline)}"
return new_text


Expand Down

0 comments on commit 3dba406

Please sign in to comment.