Skip to content

Commit

Permalink
pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from
Browse files Browse the repository at this point in the history
fallen committed Jul 7, 2015
1 parent f3e5197 commit 2d343dd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion artiq/protocols/pc_rpc.py
Original file line number Diff line number Diff line change
@@ -246,7 +246,8 @@ def __do_rpc(self, name, args, kwargs):
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


0 comments on commit 2d343dd

Please sign in to comment.