mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Check for blank line after shebang and grab actual comment block instead of hard-coded one
This commit is contained in:
parent
48ace17b54
commit
9a3b61abe1
4 changed files with 22 additions and 8 deletions
|
@ -7,11 +7,6 @@
|
|||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
# when wrapped to 80 chars, the longest license is 10 lines.
|
||||
# TODO actually grab whatever commented block is before the second blank line
|
||||
# of the file instead of hard-coding this.
|
||||
MAX_LICENSE_LINESPAN = 12
|
||||
|
||||
MPL = """\
|
||||
This Source Code Form is subject to the terms of the Mozilla Public \
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue