@@ -21,9 +21,7 @@ def exec_command(command):
ssh_stdin.close()
# убираем лишние переносы строки из вывода
clean_lines = []
for line in ssh_stdout.readlines():
clean_lines.append(line.strip())
clean_lines = [line.strip() for line in ssh_stdout.readlines()]
return clean_lines
The note is not visible to the blocked user.