Fix nit in PRESUBMIT.py
Change-Id: Icc197948e387a75a05ca92f918b0b459e3c8d01f Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/22583 Reviewed-by: dan sinclair <dsinclair@google.com>
This commit is contained in:
parent
ccb699eb00
commit
7d60a4c544
|
@ -19,7 +19,7 @@ for more details about the presubmit API built into depot_tools.
|
|||
|
||||
def _LicenseHeader(input_api):
|
||||
"""Returns the license header regexp."""
|
||||
# Accept any year number from 2003 to the current year
|
||||
# Accept any year number from 2019 to the current year
|
||||
current_year = int(input_api.time.strftime('%Y'))
|
||||
allowed_years = (str(s) for s in reversed(xrange(2019, current_year + 1)))
|
||||
years_re = '(' + '|'.join(allowed_years) + ')'
|
||||
|
|
Loading…
Reference in New Issue