[fix] remove slice by mistake in 14c270cebd

This commit is contained in:
Bram 2018-06-12 23:43:40 +02:00 committed by GitHub
parent abf0b6c0d9
commit 9df14c6506
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -709,7 +709,7 @@ def _tail(file, n):
lines = f.read().splitlines()
if len(lines) >= to_read or pos == 0:
return lines[-to_read]
return lines[-to_read:]
avg_line_length *= 1.3