From c9a2439ecc5f36deb2c03d0d0654dc79bdee0322 Mon Sep 17 00:00:00 2001 From: Eliot Berriot Date: Mon, 4 Nov 2019 11:16:58 +0100 Subject: [PATCH] Fixed broken linting --- api/funkwhale_api/federation/activity.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/api/funkwhale_api/federation/activity.py b/api/funkwhale_api/federation/activity.py index e3fb7be32..096fd767f 100644 --- a/api/funkwhale_api/federation/activity.py +++ b/api/funkwhale_api/federation/activity.py @@ -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(