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
1 changed files with 2 additions and 1 deletions

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