fix line length
This commit is contained in:
+3
-1
@@ -427,7 +427,9 @@ class IndexHandler(MixinHandler, tornado.web.RequestHandler):
|
|||||||
|
|
||||||
for command in commands:
|
for command in commands:
|
||||||
try:
|
try:
|
||||||
_, stdout, _ = ssh.exec_command(command, get_pty=True, timeout=1)
|
_, stdout, _ = ssh.exec_command(command,
|
||||||
|
get_pty=True,
|
||||||
|
timeout=1)
|
||||||
except paramiko.SSHException as exc:
|
except paramiko.SSHException as exc:
|
||||||
logging.info(str(exc))
|
logging.info(str(exc))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user