mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:54:52 -04:00
use %r to __repr__ objects
This avoids calculating __repr__ unless we are going to log.
This commit is contained in:
parent
f85b9842f0
commit
9eebc1e73b
3 changed files with 4 additions and 4 deletions
|
@ -196,7 +196,7 @@ class FederationClient(FederationBase):
|
|||
dest, room_id, extremities, limit
|
||||
)
|
||||
|
||||
logger.debug("backfill transaction_data=%s", repr(transaction_data))
|
||||
logger.debug("backfill transaction_data=%r", transaction_data)
|
||||
|
||||
room_version = yield self.store.get_room_version(room_id)
|
||||
format_ver = room_version_to_event_format(room_version)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue