diff options
Diffstat (limited to 'python/tidy/servo_tidy/tidy.py')
-rw-r--r-- | python/tidy/servo_tidy/tidy.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tidy/servo_tidy/tidy.py b/python/tidy/servo_tidy/tidy.py index a6f00c57d34..91de7229d43 100644 --- a/python/tidy/servo_tidy/tidy.py +++ b/python/tidy/servo_tidy/tidy.py @@ -150,8 +150,9 @@ def check_license(file_name, lines): l = l.rstrip('\n') if not l.strip(): blank_lines += 1 - if blank_lines >= max_blank_lines: - break + if blank_lines >= max_blank_lines: + break + continue line = uncomment(l) if line is not None: license_block.append(line) |