Fix code documentation length
Changes:
- E501 line too long > 79 characters
Tested:
- NA
Change-Id: I725470b4a85c18461ee51ae486c5aa32400ada7d
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ffdc/lib/ssh_utility.py b/ffdc/lib/ssh_utility.py
index 17e1dea..77ad8bb 100644
--- a/ffdc/lib/ssh_utility.py
+++ b/ffdc/lib/ssh_utility.py
@@ -128,7 +128,8 @@
paramiko.ChannelException,
SocketTimeout,
) as e:
- # Log command with error. Return to caller for next command, if any.
+ # Log command with error.
+ # Return to caller for next command, if any.
logging.error(
"\n\tERROR: Fail remote command %s %s" % (e.__class__, e)
)
@@ -188,9 +189,10 @@
"\n\tERROR: Fail scp %s from remotehost %s %s\n\n"
% (remote_file, e.__class__, e)
)
- # Pause for 2 seconds allowing Paramiko to finish error processing before next fetch.
- # Without the delay after SCPException,
- # next fetch will get 'paramiko.ssh_exception.SSHException'> Channel closed Error.
+ # Pause for 2 seconds allowing Paramiko to finish error processing
+ # before next fetch. Without the delay after SCPException, next
+ # fetch will get 'paramiko.ssh_exception.SSHException'> Channel
+ # closed Error.
time.sleep(2)
return False
# Return True for file accounting