aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-06-19 10:05:18 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-06-19 10:10:55 +0200
commitd2da5aa8a29754ca931a05fdebf9fb246ce8da53 (patch)
treee79d899451086d2d407f136973e72a94469b588f /tools
parentfbb61ed25dd3080ff143f60efaaae6be435f56c5 (diff)
fix sanity
Diffstat (limited to 'tools')
-rwxr-xr-xtools/distrib/check_copyright.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index 4179bf1cb8..6ecacede71 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -72,7 +72,6 @@ LICENSE_PREFIX = {
'.mak': r'#\s*',
'Makefile': r'#\s*',
'Dockerfile': r'#\s*',
- 'LICENSE': r'\s*',
'BUILD': r'#\s*',
}
@@ -124,7 +123,7 @@ def save(name, text):
with open(name, 'w') as f:
f.write(text)
-assert(re.search(RE_LICENSE['LICENSE'], load('LICENSE')))
+
assert(re.search(RE_LICENSE['Makefile'], load('Makefile')))