Fixed broken linting

This commit is contained in:
Eliot Berriot 2019-11-04 11:16:58 +01:00
parent 1dbb69aab0
commit c9a2439ecc
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 10 additions and 2 deletions

View File

@ -330,10 +330,18 @@ class OutboxRouter(Router):
cc = activity_data["payload"].pop("cc", [])
a = models.Activity(**activity_data)
a.uuid = uuid.uuid4()
to_inbox_items, to_deliveries, new_to = prepare_deliveries_and_inbox_items(
(
to_inbox_items,
to_deliveries,
new_to,
) = prepare_deliveries_and_inbox_items(
to, "to", allowed_domains=allowed_domains
)
cc_inbox_items, cc_deliveries, new_cc = prepare_deliveries_and_inbox_items(
(
cc_inbox_items,
cc_deliveries,
new_cc,
) = prepare_deliveries_and_inbox_items(
cc, "cc", allowed_domains=allowed_domains
)
if not any(