From 03986df929a2dd59e845bf4be90b1acf3b09e0f2 Mon Sep 17 00:00:00 2001 From: Ivan Dromigny Date: Thu, 3 Oct 2019 09:53:04 +0200 Subject: [PATCH] Update syntax --- moto/sns/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/moto/sns/models.py b/moto/sns/models.py index 515fe116d..cead172e9 100644 --- a/moto/sns/models.py +++ b/moto/sns/models.py @@ -340,9 +340,9 @@ class SNSBackend(BaseBackend): topic = self.get_topic(topic_arn) subscription = Subscription(topic, endpoint, protocol) attributes = { - 'PendingConfirmation' : 'false', - 'Endpoint' : endpoint, - 'TopicArn' : topic_arn, + 'PendingConfirmation': 'false', + 'Endpoint': endpoint, + 'TopicArn': topic_arn, 'Protocol': protocol, 'SubscriptionArn': subscription.arn }