mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
parent
f0ea3c6150
commit
251eeb2c2d
53 changed files with 1566 additions and 262 deletions
|
@ -215,6 +215,9 @@ def uncomment(line):
|
|||
|
||||
|
||||
def is_apache_licensed(header):
|
||||
if "SPDX-License-Identifier: Apache-2.0 OR MIT" in header:
|
||||
return True
|
||||
|
||||
if APACHE in header:
|
||||
return any(c in header for c in COPYRIGHT)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue