mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Address codestyle concerns
This commit is contained in:
parent
0d7e9523e5
commit
e4d98188da
@ -114,7 +114,12 @@ class SyncRestServlet(RestServlet):
|
|||||||
logger.debug(
|
logger.debug(
|
||||||
"/sync: user=%r, timeout=%r, since=%r, "
|
"/sync: user=%r, timeout=%r, since=%r, "
|
||||||
"set_presence=%r, filter_id=%r, device_id=%r",
|
"set_presence=%r, filter_id=%r, device_id=%r",
|
||||||
user, timeout, since, set_presence, filter_id, device_id
|
user,
|
||||||
|
timeout,
|
||||||
|
since,
|
||||||
|
set_presence,
|
||||||
|
filter_id,
|
||||||
|
device_id,
|
||||||
)
|
)
|
||||||
|
|
||||||
request_key = (user, timeout, since, filter_id, full_state, device_id)
|
request_key = (user, timeout, since, filter_id, full_state, device_id)
|
||||||
|
@ -118,7 +118,9 @@ class PreviewUrlResource(DirectServeResource):
|
|||||||
value = getattr(url_tuple, attrib)
|
value = getattr(url_tuple, attrib)
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"Matching attrib '%s' with value '%s' against" " pattern '%s'",
|
"Matching attrib '%s' with value '%s' against" " pattern '%s'",
|
||||||
attrib, value, pattern
|
attrib,
|
||||||
|
value,
|
||||||
|
pattern,
|
||||||
)
|
)
|
||||||
|
|
||||||
if value is None:
|
if value is None:
|
||||||
|
@ -364,9 +364,7 @@ class EventFederationWorkerStore(EventsWorkerStore, SignatureWorkerStore, SQLBas
|
|||||||
)
|
)
|
||||||
|
|
||||||
def _get_backfill_events(self, txn, room_id, event_list, limit):
|
def _get_backfill_events(self, txn, room_id, event_list, limit):
|
||||||
logger.debug(
|
logger.debug("_get_backfill_events: %s, %r, %s", room_id, event_list, limit)
|
||||||
"_get_backfill_events: %s, %r, %s", room_id, event_list, limit
|
|
||||||
)
|
|
||||||
|
|
||||||
event_results = set()
|
event_results = set()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user