mirror of https://github.com/m-labs/artiq.git
pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from
This commit is contained in:
parent
f3e5197c14
commit
2d343dd95d
|
@ -246,7 +246,8 @@ class AsyncioClient:
|
||||||
def __getattr__(self, name):
|
def __getattr__(self, name):
|
||||||
@asyncio.coroutine
|
@asyncio.coroutine
|
||||||
def proxy(*args, **kwargs):
|
def proxy(*args, **kwargs):
|
||||||
return self.__do_rpc(name, args, kwargs)
|
res = yield from self.__do_rpc(name, args, kwargs)
|
||||||
|
return res
|
||||||
return proxy
|
return proxy
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue