Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index 878ee70a68ff71b12bed82dd3082a90cae7219fd..10a8d273d6d9f50f17446914be1076c29f5fd98b 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -359,7 +359,7 @@ def CheckLongLines(input_api, output_api, maxlen, source_file_filter=None): |
return False |
return ( |
- any((url in line) for url in ('http://', 'https://')) or |
+ any((url in line) for url in ('file://', 'http://', 'https://')) or |
input_api.re.match( |
r'.*[A-Za-z][A-Za-z_0-9]{%d,}.*' % long_symbol, line)) |