Remove unused code from tidy.py.

This commit is contained in:
Ms2ger 2014-07-11 13:02:58 +02:00
parent eb7654719a
commit 016457722f

View file

@ -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")