1
1
#!/usr/bin/env python3
2
2
# Copyright (c) 2016 The Bitcoin Core developers
3
- # Copyright (c) 2017 The Raven Core developers
3
+ # Copyright (c) 2017-2019 The Raven Core developers
4
4
# Distributed under the MIT software license, see the accompanying
5
5
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
6
6
@@ -413,24 +413,24 @@ def exec_update_header_year(base_directory):
413
413
changed in a year more recent than is listed. For example:
414
414
415
415
// Copyright (c) <firstYear>-<lastYear> The Bitcoin Core developers
416
- // Copyright (c) 2017 The Raven Core developers
416
+ // Copyright (c) 2017-2019 The Raven Core developers
417
417
418
418
will be updated to:
419
419
420
420
// Copyright (c) <firstYear>-<lastModifiedYear> The Bitcoin Core developers
421
- // Copyright (c) 2017 The Raven Core developers
421
+ // Copyright (c) 2017-2019 The Raven Core developers
422
422
423
423
where <lastModifiedYear> is obtained from the 'git log' history.
424
424
425
425
This subcommand also handles copyright headers that have only a single year. In those cases:
426
426
427
427
// Copyright (c) <year> The Bitcoin Core developers
428
- // Copyright (c) 2017 The Raven Core developers
428
+ // Copyright (c) 2017-2019 The Raven Core developers
429
429
430
430
will be updated to:
431
431
432
432
// Copyright (c) <year>-<lastModifiedYear> The Bitcoin Core developers
433
- // Copyright (c) 2017 The Raven Core developers
433
+ // Copyright (c) 2017-2019 The Raven Core developers
434
434
435
435
where the update is appropriate.
436
436
@@ -464,7 +464,7 @@ def get_header_lines(header, start_year, end_year):
464
464
465
465
CPP_HEADER = '''
466
466
// Copyright (c) %s The Bitcoin Core developers
467
- // Copyright (c) 2017 The Raven Core developers
467
+ // Copyright (c) 2017-2019 The Raven Core developers
468
468
// Distributed under the MIT software license, see the accompanying
469
469
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
470
470
'''
@@ -474,7 +474,7 @@ def get_cpp_header_lines_to_insert(start_year, end_year):
474
474
475
475
PYTHON_HEADER = '''
476
476
# Copyright (c) %s The Bitcoin Core developers
477
- # Copyright (c) 2017 The Raven Core developers
477
+ # Copyright (c) 2017-2019 The Raven Core developers
478
478
# Distributed under the MIT software license, see the accompanying
479
479
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
480
480
'''
0 commit comments