Skip to content

Commit

Permalink
Use the correct API (since direct returns break Python 2 imports)
Browse files Browse the repository at this point in the history
  • Loading branch information
itamarst committed Feb 11, 2022
1 parent abf3048 commit 5aa00ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/allmydata/storage_client.py
Expand Up @@ -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)

Expand Down

0 comments on commit 5aa00ab

Please sign in to comment.