1
0

run pyupgrade --py37-plus --keep-percent-format on synapse/

This commit is contained in:
H. Shay
2022-01-04 12:47:39 -08:00
parent 6e94f64edf
commit da5c58bb24
2 changed files with 1 additions and 2 deletions

View File

@@ -466,7 +466,7 @@ class UserMediaRestServlet(RestServlet):
)
deleted_media, total = await self.media_repository.delete_local_media_ids(
([row["media_id"] for row in media])
[row["media_id"] for row in media]
)
return HTTPStatus.OK, {"deleted_media": deleted_media, "total": total}

View File

@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
# Copyright 2021 The Matrix.org Foundation C.I.C.
#
# Licensed under the Apache License, Version 2.0 (the "License");