issue #429: fix sudo regression.
This commit is contained in:
parent
ae8173a29f
commit
fca5513610
|
@ -253,7 +253,7 @@ class Stream(mitogen.parent.Stream):
|
||||||
if password_sent:
|
if password_sent:
|
||||||
raise PasswordError(self.password_incorrect_msg)
|
raise PasswordError(self.password_incorrect_msg)
|
||||||
self.diag_stream.transmit_side.write(
|
self.diag_stream.transmit_side.write(
|
||||||
mitogen.core.to_text(self.password + '\n').encode('utf-8')
|
(mitogen.core.to_text(self.password) + '\n').encode('utf-8')
|
||||||
)
|
)
|
||||||
password_sent = True
|
password_sent = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue