Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

#69 Fixing 0.3.0 expect match issue when channel receives multiple lines … #70

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion paramiko_expect.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@ def expect(
if re.match(default_match_prefix + re_string + '$',
current_buffer_output_decoded, re.DOTALL)]
):
current_buffer_output_decoded = ''
# avoids paramiko hang when recv is not ready yet
while not self.channel.recv_ready():
time.sleep(.009)
Expand Down