mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Update COPYING date to now and fix some [skip CI]
This commit is contained in:
parent
ac1c55c02a
commit
fe44022ee7
27 changed files with 36 additions and 34 deletions
|
@ -5,20 +5,15 @@ import sys
|
|||
|
||||
exit_code = 0
|
||||
|
||||
pat1 = re.compile(
|
||||
copyright_pat = re.compile(
|
||||
r"See the file \"COPYING\" in the main distribution directory for copyright."
|
||||
)
|
||||
|
||||
# This is the copyright line used within Spicy plugin and popular in
|
||||
# Spicy analyzers.
|
||||
pat2 = re.compile(r"Copyright \(c\) 2... by the Zeek Project. See COPYING for details.")
|
||||
|
||||
|
||||
def match_line(line):
|
||||
for pat in [pat1, pat2]:
|
||||
m = pat.search(line)
|
||||
if m is not None:
|
||||
return True
|
||||
m = copyright_pat.search(line)
|
||||
if m is not None:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue