From be2264f4c134575469ac18b4a4f13e4dfb089ec0 Mon Sep 17 00:00:00 2001 From: David Wilson Date: Thu, 21 Sep 2017 15:57:02 +0530 Subject: [PATCH] master: send_await() always unpickles now. --- mitogen/master.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mitogen/master.py b/mitogen/master.py index e6a7a8ed..5c1f40e8 100644 --- a/mitogen/master.py +++ b/mitogen/master.py @@ -744,10 +744,9 @@ class ChildIdAllocator(object): def allocate(self): master = Context(self.router, 0) - reply = master.send_await( + return master.send_await( mitogen.core.Message(dst_id=0, handle=mitogen.core.ALLOCATE_ID) ) - return reply.unpickle() class Router(mitogen.core.Router):