Merge pull request #4686 from murgatroid99/sanity_update_copyrights
Updated copyrights
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py
index f54e5fa..5158c11 100755
--- a/tools/distrib/check_copyright.py
+++ b/tools/distrib/check_copyright.py
@@ -117,6 +117,7 @@
# scan files, validate the text
+ok = True
for filename in subprocess.check_output('git ls-tree -r --name-only -r HEAD',
shell=True).splitlines():
if filename in KNOWN_BAD: continue
@@ -130,7 +131,6 @@
log(args.skips, 'skip', filename)
continue
text = load(filename)
- ok = True
m = re.search(re_license, text)
if m:
last_modified = int(subprocess.check_output('git log -1 --format="%ad" --date=short -- ' + filename, shell=True)[0:4])