API: calling remote methods in 'sync' mode no longer returns future on timeout

When calling a function with callSync='sync', the assumption is that we either block until the result arrives or raise an exception if no result arrives. Previously, a timeout woud cause the Future object to be returned instead.
This commit is contained in:
Luke Campagnola 2017-09-13 09:09:05 -07:00
parent 2a70fd9932
commit 16781636bf

View File

@ -466,10 +466,7 @@ class RemoteEventHandler(object):
return req
if callSync == 'sync':
try:
return req.result()
except NoResultError:
return req
def close(self, callSync='off', noCleanup=False, **kwds):
try: