From 2d343dd95d89b927d642312e17863ad90aa35e7e Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Tue, 7 Jul 2015 19:26:33 +0200 Subject: [PATCH] pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from --- artiq/protocols/pc_rpc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/artiq/protocols/pc_rpc.py b/artiq/protocols/pc_rpc.py index d50c13591..539e9f7f3 100644 --- a/artiq/protocols/pc_rpc.py +++ b/artiq/protocols/pc_rpc.py @@ -246,7 +246,8 @@ class AsyncioClient: def __getattr__(self, name): @asyncio.coroutine def proxy(*args, **kwargs): - return self.__do_rpc(name, args, kwargs) + res = yield from self.__do_rpc(name, args, kwargs) + return res return proxy