From 9df14c6506993ba81af186764731296af009d261 Mon Sep 17 00:00:00 2001 From: Bram Date: Tue, 12 Jun 2018 23:43:40 +0200 Subject: [PATCH] [fix] remove slice by mistake in 14c270cebdc67a1123331237cee6dba347ee7623 --- src/yunohost/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/service.py b/src/yunohost/service.py index 0ce8073fa..ef711a4a9 100644 --- a/src/yunohost/service.py +++ b/src/yunohost/service.py @@ -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