mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix the fix (my error -- hasty pasty).
This commit is contained in:
parent
a29b6222fe
commit
b5d1392d92
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ class async_chat (asyncore.dispatcher):
|
|||
# 3) end of buffer does not match any prefix:
|
||||
# collect data
|
||||
terminator_len = len(terminator)
|
||||
index = ac_in_buffer.find (self.terminator)
|
||||
index = self.ac_in_buffer.find(terminator)
|
||||
if index != -1:
|
||||
# we found the terminator
|
||||
if index > 0:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue