From b5d1392d9236eae981796cb7ae15d8ecd5035ac6 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Thu, 5 Apr 2001 22:38:32 +0000 Subject: [PATCH] Fix the fix (my error -- hasty pasty). --- Lib/asynchat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asynchat.py b/Lib/asynchat.py index a46c1d42ac9..35f5d1eda98 100644 --- a/Lib/asynchat.py +++ b/Lib/asynchat.py @@ -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: