From cd21edb26704250305275f61fdbca9c357d9f8aa Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 30 Oct 2016 05:22:43 +0100 Subject: [PATCH] [mod] pep8 --- src/yunohost/certificate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/certificate.py b/src/yunohost/certificate.py index de21299d1..94defcd2b 100644 --- a/src/yunohost/certificate.py +++ b/src/yunohost/certificate.py @@ -665,8 +665,8 @@ def _name_selfCA(): return cert.get_subject().CN -def _tail(n, filePath): - stdin, stdout = os.popen2("tail -n %s '%s'" % (n, filePath)) +def _tail(n, file_path): + stdin, stdout = os.popen2("tail -n %s '%s'" % (n, file_path)) stdin.close() lines = stdout.readlines() stdout.close()