mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 09:32:21 +00:00
Fix another python3 syntax problem
async can't even be a member of a class, evidently.
This commit is contained in:
parent
bd39171611
commit
bc03da47af
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user