master: send_await() always unpickles now.

wip-fakessh-exit-status
David Wilson 7 years ago
parent 769ece2514
commit 2ee7309378

@ -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):

Loading…
Cancel
Save