Fixed an data_out call in SSH.
This commit is contained in:
parent
ccdc58d652
commit
b630315007
2 changed files with 2 additions and 1 deletions
|
|
@ -210,7 +210,7 @@ class SshProtocol(Manhole, session.Session):
|
|||
|
||||
"""
|
||||
if reason:
|
||||
self.data_out(reason)
|
||||
self.data_out(text=reason)
|
||||
self.connectionLost(reason)
|
||||
|
||||
def data_out(self, **kwargs):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
"""
|
||||
This is a simple context factory for auto-creating
|
||||
SSL keys and certificates.
|
||||
|
||||
"""
|
||||
from __future__ import print_function
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue