Merge "Find target keywords in the first 100 lines." am: 61ddffc6af

am: 4bf15225d4

Change-Id: I8375de1b5359e4bcbb028f0e158bc20545fbf8fe
This commit is contained in:
Chih-Hung Hsieh 2017-06-08 01:50:50 +00:00 committed by android-build-merger
commit 30e550cfb7
1 changed files with 1 additions and 1 deletions

View File

@ -2427,7 +2427,7 @@ def parse_input_file(infile):
if warning_pattern.match(line):
line = normalize_warning_line(line)
warning_lines.add(line)
elif line_counter < 50:
elif line_counter < 100:
# save a little bit of time by only doing this for the first few lines
line_counter += 1
m = re.search('(?<=^PLATFORM_VERSION=).*', line)