Skip to content

Commit 6ce441f

Browse files
committed
[chores] Removed extra blank lines
1 parent a1dbd3b commit 6ce441f

File tree

1 file changed

+0
-3
lines changed
  • openwisp_controller/connection/connectors

1 file changed

+0
-3
lines changed

openwisp_controller/connection/connectors/ssh.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ def exec_command(
186186
"""
187187
# paramiko expects timeout as a float
188188
timeout = float(timeout)
189-
190189
logger.info("Executing command: {0}".format(command))
191190
# execute commmand
192191
try:
@@ -200,7 +199,6 @@ def exec_command(
200199
except Exception as e:
201200
logger.exception(e)
202201
raise e
203-
204202
# workaround https://github.com/paramiko/paramiko/issues/1815
205203
# workaround https://github.com/paramiko/paramiko/issues/1787
206204
# Ref. https://docs.paramiko.org/en/stable/api/channel.html#paramiko.channel.Channel.recv_exit_status # noqa
@@ -210,7 +208,6 @@ def exec_command(
210208
log_message = f"Command timed out after {timeout} seconds."
211209
logger.info(log_message)
212210
raise CommandTimeoutException(log_message)
213-
214211
exit_status = stdout.channel.exit_status
215212
# log standard output
216213
# try to decode to UTF-8, ignoring unconvertible characters

0 commit comments

Comments
 (0)