diff --git a/src/_zkapauthorizer/_storage_client.py b/src/_zkapauthorizer/_storage_client.py index 04a465ddbd7607c9b8c274773311da87186bdf5a..8566b2480579023288ddcec587abe81978a45ebf 100644 --- a/src/_zkapauthorizer/_storage_client.py +++ b/src/_zkapauthorizer/_storage_client.py @@ -40,7 +40,6 @@ from eliot.twisted import ( ) from twisted.internet.defer import ( - inlineCallbacks, returnValue, ) from allmydata.interfaces import ( @@ -303,7 +302,7 @@ class ZKAPAuthorizerStorageClient(object): storage_index, ) - @inlineCallbacks + @inline_callbacks @with_rref def add_lease( self, @@ -332,7 +331,7 @@ class ZKAPAuthorizerStorageClient(object): ) returnValue(result) - @inlineCallbacks + @inline_callbacks @with_rref def renew_lease( self, @@ -383,7 +382,7 @@ class ZKAPAuthorizerStorageClient(object): reason, ) - @inlineCallbacks + @inline_callbacks @with_rref def slot_testv_and_readv_and_writev( self,