Commit c9fec32b authored by Michal Horejsek's avatar Michal Horejsek

Lint

parent 3739d98e
......@@ -45,7 +45,7 @@ class SSHConnection(SSHConnectionTwisted):
Overridden SSHConnection for disabling logs a traceback about a failed direct-tcpip connections
"""
# pylint: disable=invalid-name
# pylint: disable=invalid-name,inconsistent-return-statements
def ssh_CHANNEL_OPEN(self, packet):
# pylint: disable=unbalanced-tuple-unpacking
channel_type, rest = common.getNS(packet)
......@@ -66,7 +66,7 @@ class SSHConnection(SSHConnectionTwisted):
common.NS(networkString('unknown failure')) + common.NS(b'')
)
# pylint: disable=invalid-name
# pylint: disable=invalid-name,inconsistent-return-statements
def ssh_CHANNEL_DATA(self, packet):
try:
return SSHConnectionTwisted.ssh_CHANNEL_DATA(self, packet)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment