Fixed an data_out call in SSH.

This commit is contained in:
Griatch 2016-02-20 16:23:05 +01:00
parent ccdc58d652
commit b630315007
2 changed files with 2 additions and 1 deletions

View file

@ -210,7 +210,7 @@ class SshProtocol(Manhole, session.Session):
""" """
if reason: if reason:
self.data_out(reason) self.data_out(text=reason)
self.connectionLost(reason) self.connectionLost(reason)
def data_out(self, **kwargs): def data_out(self, **kwargs):

View file

@ -1,6 +1,7 @@
""" """
This is a simple context factory for auto-creating This is a simple context factory for auto-creating
SSL keys and certificates. SSL keys and certificates.
""" """
from __future__ import print_function from __future__ import print_function