27d52530c1082680286f2e76466aee8f692d06d1,src/python/pants/backend/jvm/tasks/jvm_compile/java/jmake_analysis_parser.py,JMakeAnalysisParser,parse,#JMakeAnalysisParser#Any#,24
Before Change
current_test_header = "pcd entries:\n"
def parse(self, infile):
self._expect_header(infile.readline() , "pcd entries")
num_pcd_entries = self.parse_num_items(infile.readline() )
pcd_entries = []
for i in range(0, num_pcd_entries):
line = infile.readline()
tpl = line.split("\t")
if len(tpl) != 5:
raise ParseError("Line must contain 5 tab-separated fields: {}".format(line))
pcd_entries.append(tpl) // Note: we preserve the \n on the last entry.
After Change
current_test_header = b"pcd entries:\n"
def parse(self, lines_iter):
self._expect_header(next(lines_iter) , "pcd entries")
num_pcd_entries = self.parse_num_items(next(lines_iter))
pcd_entries = []
for _ in range(0, num_pcd_entries):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: pantsbuild/pants
Commit Name: 27d52530c1082680286f2e76466aee8f692d06d1
Time: 2015-05-03
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/java/jmake_analysis_parser.py
Class Name: JMakeAnalysisParser
Method Name: parse
Project Name: pantsbuild/pants
Commit Name: 27d52530c1082680286f2e76466aee8f692d06d1
Time: 2015-05-03
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/java/jmake_analysis_parser.py
Class Name: JMakeAnalysisParser
Method Name: parse_deps
Project Name: pantsbuild/pants
Commit Name: 27d52530c1082680286f2e76466aee8f692d06d1
Time: 2015-05-03
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/java/jmake_analysis_parser.py
Class Name: JMakeAnalysisParser
Method Name: parse_products
Project Name: pantsbuild/pants
Commit Name: 27d52530c1082680286f2e76466aee8f692d06d1
Time: 2015-05-03
Author: benjyw@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/java/jmake_analysis_parser.py
Class Name: JMakeAnalysisParser
Method Name: parse