From bc03da47af47e9d26eb6c43f70bb44f84f7bec1d Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 10 Apr 2020 12:11:45 -0400 Subject: [PATCH] Fix another python3 syntax problem async can't even be a member of a class, evidently. --- confluent_server/confluent/asynchttp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/asynchttp.py b/confluent_server/confluent/asynchttp.py index 1072650c..731d8726 100644 --- a/confluent_server/confluent/asynchttp.py +++ b/confluent_server/confluent/asynchttp.py @@ -65,11 +65,11 @@ class AsyncTermRelation(object): # This allows the async handler to know the context of # outgoing data to provide to calling code def __init__(self, termid, asynchdl): - self.async = asynchdl + self.asynchdl = asynchdl self.termid = termid def got_data(self, data): - self.async.add(self.termid, data) + self.asynchdl.add(self.termid, data) class AsyncSession(object):