Check for blank line after shebang and grab actual comment block instead of hard-coded one

This commit is contained in:
UK992 2016-08-09 16:14:43 +02:00
parent 48ace17b54
commit 9a3b61abe1
4 changed files with 22 additions and 8 deletions

View file

@ -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 \