mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] lisibility
This commit is contained in:
parent
cd21edb267
commit
a7b9226667
1 changed files with 4 additions and 2 deletions
|
@ -667,8 +667,10 @@ def _name_selfCA():
|
|||
|
||||
def _tail(n, file_path):
|
||||
stdin, stdout = os.popen2("tail -n %s '%s'" % (n, file_path))
|
||||
|
||||
stdin.close()
|
||||
|
||||
lines = stdout.readlines()
|
||||
stdout.close()
|
||||
lines = "".join(lines)
|
||||
return lines
|
||||
|
||||
return "".join(lines)
|
||||
|
|
Loading…
Add table
Reference in a new issue