mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 12:12:15 -04:00
Run Black. (#5482)
This commit is contained in:
parent
7dcf984075
commit
32e7c9e7f2
376 changed files with 9142 additions and 10388 deletions
|
@ -104,8 +104,8 @@ def register_cache(cache_type, cache_name, cache):
|
|||
|
||||
|
||||
KNOWN_KEYS = {
|
||||
key: key for key in
|
||||
(
|
||||
key: key
|
||||
for key in (
|
||||
"auth_events",
|
||||
"content",
|
||||
"depth",
|
||||
|
@ -150,7 +150,7 @@ def intern_dict(dictionary):
|
|||
|
||||
|
||||
def _intern_known_values(key, value):
|
||||
intern_keys = ("event_id", "room_id", "sender", "user_id", "type", "state_key",)
|
||||
intern_keys = ("event_id", "room_id", "sender", "user_id", "type", "state_key")
|
||||
|
||||
if key in intern_keys:
|
||||
return intern_string(value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue