Skip to content

Commit 2d343dd

Browse files
committedJul 7, 2015
pc_rpc: AsyncioClient __do_rpc coroutine was never yielded from
1 parent f3e5197 commit 2d343dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎artiq/protocols/pc_rpc.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ def __do_rpc(self, name, args, kwargs):
246246
def __getattr__(self, name):
247247
@asyncio.coroutine
248248
def proxy(*args, **kwargs):
249-
return self.__do_rpc(name, args, kwargs)
249+
res = yield from self.__do_rpc(name, args, kwargs)
250+
return res
250251
return proxy
251252

252253

0 commit comments

Comments
 (0)
Please sign in to comment.