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

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

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

Loading…
Cancel
Save