]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the fix (my error -- hasty pasty).
authorTim Peters <tim.peters@gmail.com>
Thu, 5 Apr 2001 22:38:32 +0000 (22:38 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 5 Apr 2001 22:38:32 +0000 (22:38 +0000)
Lib/asynchat.py

index a46c1d42ac9f5f452e4b57a29c9f1fe6f1261a99..35f5d1eda98280f5a1b4249f627b27f20055737b 100644 (file)
@@ -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: