mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-05-02 11:06:02 -04:00
Remove unnecessary parentheses around tuples returned from methods (#10889)
This commit is contained in:
parent
26f2bfedbf
commit
aa2c027792
22 changed files with 33 additions and 32 deletions
|
@ -666,7 +666,7 @@ class EventCreationHandler:
|
|||
|
||||
self.validator.validate_new(event, self.config)
|
||||
|
||||
return (event, context)
|
||||
return event, context
|
||||
|
||||
async def _is_exempt_from_privacy_policy(
|
||||
self, builder: EventBuilder, requester: Requester
|
||||
|
@ -1004,7 +1004,7 @@ class EventCreationHandler:
|
|||
|
||||
logger.debug("Created event %s", event.event_id)
|
||||
|
||||
return (event, context)
|
||||
return event, context
|
||||
|
||||
@measure_func("handle_new_client_event")
|
||||
async def handle_new_client_event(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue