mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-08 10:34:56 -04:00
Replace returnValue with return (#5736)
This commit is contained in:
parent
18a466b84e
commit
4806651744
177 changed files with 1359 additions and 1513 deletions
|
@ -12,9 +12,8 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
import operator
|
||||
|
||||
from twisted.internet import defer
|
||||
import operator
|
||||
|
||||
from synapse.storage._base import SQLBaseStore
|
||||
from synapse.util.caches.descriptors import cached, cachedList
|
||||
|
@ -67,7 +66,7 @@ class UserErasureWorkerStore(SQLBaseStore):
|
|||
|
||||
erased_users = yield self.runInteraction("are_users_erased", _get_erased_users)
|
||||
res = dict((u, u in erased_users) for u in user_ids)
|
||||
defer.returnValue(res)
|
||||
return res
|
||||
|
||||
|
||||
class UserErasureStore(UserErasureWorkerStore):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue