mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 19:04:21 +00:00
Use the correct API (since direct returns break Python 2 imports)
This commit is contained in:
parent
abf3048ab3
commit
5aa00abc3d
@ -1042,7 +1042,7 @@ class _FakeRemoteReference(object):
|
||||
def callRemote(self, action, *args, **kwargs):
|
||||
try:
|
||||
result = yield getattr(self.local_object, action)(*args, **kwargs)
|
||||
return result
|
||||
defer.returnValue(result)
|
||||
except HTTPClientException as e:
|
||||
raise RemoteException(e.args)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user