aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib
diff options
context:
space:
mode:
authorGravatar Carl Mastrangelo <notcarl@google.com>2018-05-02 17:23:03 -0700
committerGravatar Carl Mastrangelo <notcarl@google.com>2018-05-02 17:23:03 -0700
commite51aa63752f813813e7f202896b0da2ad5286c08 (patch)
treec9555ec7d08b029e6e34ce73ae44e94a1ec62429 /tools/distrib
parent8202e8d569001ee874a6f0b2bf3d8bbb222bfec5 (diff)
Make copyright check slightly more flexible
Diffstat (limited to 'tools/distrib')
-rwxr-xr-xtools/distrib/check_copyright.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 66acc733e5..c2d6ce4756 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -98,7 +98,7 @@ _EXEMPT = frozenset((
'src/android/test/interop/gradlew.bat',
))
-RE_YEAR = r'Copyright (?P<first_year>[0-9]+\-)?(?P<last_year>[0-9]+) gRPC authors.'
+RE_YEAR = r'Copyright (?P<first_year>[0-9]+\-)?(?P<last_year>[0-9]+) gRPC (a|A)uthors(\.|)'
RE_LICENSE = dict(
(k, r'\n'.join(LICENSE_PREFIX[k] +
(RE_YEAR if re.search(RE_YEAR, line) else re.escape(line))