|
5 | 5 | import os |
6 | 6 | import framework.utils as utils |
7 | 7 |
|
8 | | -AMAZON_COPYRIGHT_YEARS = (2018, 2019, 2020) |
| 8 | +AMAZON_COPYRIGHT_YEARS = (2018, 2019, 2020, 2021) |
9 | 9 | AMAZON_COPYRIGHT = ( |
10 | 10 | "Copyright {} Amazon.com, Inc. or its affiliates. All Rights Reserved." |
11 | 11 | ) |
@@ -52,21 +52,21 @@ def _validate_license(filename): |
52 | 52 | copy = file.readline() |
53 | 53 | local_license = file.readline() |
54 | 54 | has_amazon_copyright = ( |
55 | | - _has_amazon_copyright(copy) and |
56 | | - AMAZON_LICENSE in local_license |
| 55 | + _has_amazon_copyright(copy) and |
| 56 | + AMAZON_LICENSE in local_license |
57 | 57 | ) |
58 | 58 | has_chromium_copyright = ( |
59 | | - CHROMIUM_COPYRIGHT in copy and |
60 | | - CHROMIUM_LICENSE in local_license |
| 59 | + CHROMIUM_COPYRIGHT in copy and |
| 60 | + CHROMIUM_LICENSE in local_license |
61 | 61 | ) |
62 | 62 | has_tuntap_copyright = ( |
63 | | - TUNTAP_COPYRIGHT in copy and |
64 | | - TUNTAP_LICENSE in local_license |
| 63 | + TUNTAP_COPYRIGHT in copy and |
| 64 | + TUNTAP_LICENSE in local_license |
65 | 65 | ) |
66 | 66 | return ( |
67 | | - has_amazon_copyright or |
68 | | - has_chromium_copyright or |
69 | | - has_tuntap_copyright |
| 67 | + has_amazon_copyright or |
| 68 | + has_chromium_copyright or |
| 69 | + has_tuntap_copyright |
70 | 70 | ) |
71 | 71 | return True |
72 | 72 |
|
|
0 commit comments