[stream-refactor] fix su_test failure (issue #363)

pull/607/head
David Wilson 6 years ago
parent 8769c3ce24
commit 0ff5fb8fc4

@ -102,10 +102,9 @@ class SetupBootstrapProtocol(mitogen.parent.BootstrapProtocol):
self.password_sent = True self.password_sent = True
def _on_password_incorrect(self, line, match): def _on_password_incorrect(self, line, match):
if self.password_sent: self.stream.conn._fail_connection(
self.stream.conn._fail_connection( PasswordError(password_incorrect_msg)
PasswordError(password_incorrect_msg) )
)
class Options(mitogen.parent.Options): class Options(mitogen.parent.Options):

Loading…
Cancel
Save