Bug 1373789 - Handle some kinds of malformed lcov lines better. r=chmanchester

--HG--
extra : rebase_source : 43b52f283ebd5c03de54ad46bbbf49046ae21051
This commit is contained in:
Marco Castelluccio 2017-06-16 20:16:33 +01:00
Родитель 29a9c9d166
Коммит d291cf05a4
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -293,6 +293,10 @@ class LcovFile(object):
print("Invalid lcov line start at %s:%d:\n%s" %
(lcov_fh.name, count + 1, line))
raise
except TypeError:
print("Invalid lcov line start at %s:%d:\n%s" %
(lcov_fh.name, count + 1, line))
raise
def print_file(self, fh):
for record in self.records: