Address codestyle concerns

This commit is contained in:
Michael Kaye 2019-10-24 18:43:13 +01:00
parent 0d7e9523e5
commit e4d98188da
3 changed files with 10 additions and 5 deletions

View File

@ -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)

View File

@ -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:

View File

@ -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()