2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from

This commit is contained in:
Yann Sionneau 2015-07-07 19:26:33 +02:00
parent f3e5197c14
commit 2d343dd95d

View File

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