|
|
@ -371,7 +371,7 @@ def create_updated_copyright_line(line, last_git_change_year):
|
|
|
|
space_split = after_copyright.split(' ')
|
|
|
|
space_split = after_copyright.split(' ')
|
|
|
|
year_range = space_split[0]
|
|
|
|
year_range = space_split[0]
|
|
|
|
start_year, end_year = parse_year_range(year_range)
|
|
|
|
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 line
|
|
|
|
return (before_copyright + copyright_splitter +
|
|
|
|
return (before_copyright + copyright_splitter +
|
|
|
|
year_range_to_str(start_year, last_git_change_year) + ' ' +
|
|
|
|
year_range_to_str(start_year, last_git_change_year) + ' ' +
|
|
|
|