mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove unused code from tidy.py.
This commit is contained in:
parent
eb7654719a
commit
016457722f
1 changed files with 0 additions and 8 deletions
|
@ -19,14 +19,6 @@ def report_error_name_no(name, no, s):
|
|||
print("%s:%d: %s" % (name, no, s))
|
||||
err=1
|
||||
|
||||
def report_err(s):
|
||||
report_error_name_no(fileinput.filename(), fileinput.filelineno(), s)
|
||||
|
||||
def report_warn(s):
|
||||
print("%s:%d: %s" % (fileinput.filename(),
|
||||
fileinput.filelineno(),
|
||||
s))
|
||||
|
||||
def do_license_check(name, contents):
|
||||
if not check_license(name, contents):
|
||||
report_error_name_no(name, 1, "incorrect license")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue