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:
Ryan Harrison 2020-06-03 16:12:09 +00:00 committed by dan sinclair
parent ccb699eb00
commit 7d60a4c544
1 changed files with 1 additions and 1 deletions

View File

@ -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) + ')'