summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-04-05 22:38:32 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-04-05 22:38:32 (GMT)
commitb5d1392d9236eae981796cb7ae15d8ecd5035ac6 (patch)
tree7e31e8b3dd2cd792bbf4aff656bb41b8ed4f4a61 /Lib
parenta29b6222fe18ce79c8a16746bcdf2401389e4405 (diff)
downloadcpython-b5d1392d9236eae981796cb7ae15d8ecd5035ac6.zip
cpython-b5d1392d9236eae981796cb7ae15d8ecd5035ac6.tar.gz
cpython-b5d1392d9236eae981796cb7ae15d8ecd5035ac6.tar.bz2
Fix the fix (my error -- hasty pasty).
Diffstat (limited to 'Lib')
-rw-r--r--Lib/asynchat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asynchat.py b/Lib/asynchat.py
index a46c1d4..35f5d1e 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: