Rename PutReply for log readability.

This commit is contained in:
David Wilson 2016-08-11 15:40:53 +01:00
parent 397275087b
commit 4947fb2c40
1 changed files with 3 additions and 3 deletions

View File

@ -444,11 +444,11 @@ class Context(object):
queue = Queue.Queue() queue = Queue.Queue()
def _Receive(data): def _PutReply(data):
IOLOG.debug('%r._Receive(%r)', self, data) IOLOG.debug('%r._PutReply(%r)', self, data)
queue.put(data) queue.put(data)
self.AddHandleCB(_Receive, reply_to, persist=False) self.AddHandleCB(_PutReply, reply_to, persist=False)
self.stream.Enqueue(handle, (reply_to,) + data) self.stream.Enqueue(handle, (reply_to,) + data)
try: try: