Commit 2ee73093 authored by David Wilson's avatar David Wilson

master: send_await() always unpickles now.

parent 769ece25
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment