Fix a bug (typo) seen when printing the logs from failed tests. (#513)

This commit is contained in:
trhd 2016-04-14 07:49:46 +03:00 committed by Jussi Pakkanen
parent 27134e8e04
commit a76693f338
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ def run(args):
for log in collected_logs[:10]:
lines = log.splitlines()
if len(lines) > 100:
print(line[0])
print(lines[0])
print('--- Listing only the last 100 lines from a long log. ---')
lines = lines[-99:]
for line in lines: