mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-09 11:27:28 -03:00
script: Fix copyright_header.py
This change prevents updating copyright years from "2021" to "2021-2017".
This commit is contained in:
parent
de28c348a0
commit
c29105efdc
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ def create_updated_copyright_line(line, last_git_change_year):
|
|||
space_split = after_copyright.split(' ')
|
||||
year_range = space_split[0]
|
||||
start_year, end_year = parse_year_range(year_range)
|
||||
if end_year == last_git_change_year:
|
||||
if end_year >= last_git_change_year:
|
||||
return line
|
||||
return (before_copyright + copyright_splitter +
|
||||
year_range_to_str(start_year, last_git_change_year) + ' ' +
|
||||
|
|
Loading…
Reference in a new issue