From 5974800df03a85c301f4646f1339f3ceab1e983f Mon Sep 17 00:00:00 2001 From: chenxg283 <71055172+chenxg283@users.noreply.github.com> Date: Sun, 23 Jun 2024 18:22:44 +0800 Subject: [PATCH] Update SQS.py Minor fix on the long line --- kombu/transport/SQS.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kombu/transport/SQS.py b/kombu/transport/SQS.py index 68c8c9f0..3743e3a1 100644 --- a/kombu/transport/SQS.py +++ b/kombu/transport/SQS.py @@ -737,7 +737,9 @@ class Channel(virtual.Channel): datetime_now_utc = datetime.now(timezone.utc).replace( tzinfo=None ) - sts_token_timeout = self.transport_options.get('sts_token_timeout', 900) + sts_token_timeout = self.transport_options.get( + 'sts_token_timeout', 900 + ) # STS token is generated only if it is not present or # the time reaches 80% of the token TTL if (not hasattr(self, 'sts_expiration')) or (